We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
require(nil).to(beNil())
This test fails, with the contradictory error "expected to be nil, got <nil>":
func testRequireNil() throws { expect { try require(nil as Int?).to(beNil()) }.toNot(throwError()) }
Which ultimately comes down to us being unable to unwrap nil (because... it's nil!) in (Sync|Async)Requirement.verify (highlighted is the sync variant, but the Async one has the same logic and therefore, same issue): https://github.com/Quick/Nimble/blob/v13.2.1/Sources/Nimble/Requirement.swift#L88-L95
(Sync|Async)Requirement.verify
So... that's fun and unexpected.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This test fails, with the contradictory error "expected to be nil, got <nil>":
Which ultimately comes down to us being unable to unwrap nil (because... it's nil!) in
(Sync|Async)Requirement.verify
(highlighted is the sync variant, but the Async one has the same logic and therefore, same issue): https://github.com/Quick/Nimble/blob/v13.2.1/Sources/Nimble/Requirement.swift#L88-L95So... that's fun and unexpected.
The text was updated successfully, but these errors were encountered: