Skip to content

Commit ac0ce5b

Browse files
committed
Update SynchronousTest.testToNotNegativeMatches() as well
1 parent 13a1ed1 commit ac0ce5b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tests/NimbleTests/SynchronousTests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ final class SynchronousTest: XCTestCase, XCTestCaseProvider {
130130
failsWithErrorMessage("expected to not match, got <1>") {
131131
expect(1).toNot(MatcherFunc { _, _ in true })
132132
}
133+
failsWithErrorMessage("expected to not match, got <1>") {
134+
expect(1).toNot(MatcherFunc { _, _ in true }.predicate)
135+
}
133136
}
134137

135138
func testNotToMatchesLikeToNot() {

0 commit comments

Comments
 (0)