Skip to content

Cannot build specs on Linux #725

@yogaraptor

Description

@yogaraptor
  • I have read CONTRIBUTING and have done my best to follow them.

What did you do?

Use Quick to test my Swift project on Linux. Used the QuickOnLinux example as a reference.

What did you expect to happen?

To be able to build the project and run tests :)

What actually happened instead?

$ swift build
Compile Swift Module 'Spec' (2 sources)
/home/xxxx/dev/critter/swift-i3s/Sources/Spec/main.swift:4:5: error: cannot convert value of type 'Point2dSpec' to expected element type 'QuickSpec.Type'
    Point2dSpec(),
    ^~~~~~~~~~~~~
<unknown>:0: error: build had 1 command failures

Files:

Environment

List the software versions you're using:

  • Quick: 1.1.0

  • Nimble: 5.0.0

  • Xcode Version: n/a

  • Swift Version: 3.1.1
    Please also mention which package manager you used and its version. Delete the
    other package managers in this list:

  • Swift Package Manager 3.1.0

Project that demonstrates the issue

https://github.com/mwsrp/i3s-classic-swift/tree/use_quick_for_tests (note specific branch - master uses XCT)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions