New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SR-2284] Cannot invoke 'XCTAssertEqual' with an argument list of type '([Array<Int>], [[Int]])' #381
Comments
XCTAssertEqual is only specialized one level deep on arrays. That means that until we have conditional conformances this will not work without an overload. |
It was working fine on xcode8beta2 and before that. Was this a new change to XCTest? How did it work before? |
Oh. I guess the confusing part for me is that it is telling me that |
It's not saying that; it's that the entire argument list isn't valid. If you open up the triangle it should give you more information about why, although you might have to look in the build log for the full story. (There's definitely a usability problem here.) |
ah I see, well the error is the same when the types don't match. I am going to flat map before giving it to XCTest for now as a work around. |
Has this been fixed? If so it should be closed. |
Resolved by the merge of this |
Attachment: Download
Environment
swift-DEVELOPMENT-SNAPSHOT-2016-08-04-a-osx
Additional Detail from JIRA
md5: dffa2b0d994403b9420f7549454b2423
is duplicated by:
relates to:
Issue Description:
Cannot invoke 'XCTAssertEqual' with an argument list of type '([Array<Int>], [[Int]])'
The text was updated successfully, but these errors were encountered: