mirror of
https://github.com/github/semantic.git
synced 2024-11-28 10:15:55 +03:00
Test that equal terms zip to non-nil.
This commit is contained in:
parent
0c1905b6f5
commit
11ed1a855d
@ -8,6 +8,12 @@ final class TermTests: XCTestCase {
|
||||
Cofree.equals(annotation: ==, leaf: ==)(term.term, term.term)
|
||||
}
|
||||
}
|
||||
|
||||
func testEqualTermsZipCleanly() {
|
||||
property("equal terms zip to a non-nil value") <- forAll { (term: RangedTerm) in
|
||||
Cofree.zip(term.term, term.term) != nil
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user