mirror of
https://github.com/github/semantic.git
synced 2024-12-30 18:36:27 +03:00
Skip equal terms.
This commit is contained in:
parent
9bebb438ae
commit
0cc7889ae1
@ -16,8 +16,7 @@ final class DiffTests: XCTestCase {
|
||||
|
||||
func testInequalTermsProduceNonIdentityDiffs() {
|
||||
property("inequal terms produce non-identity diffs") <- forAll { (diff: RangedDiff) in
|
||||
// fixme: limit this to inequal terms
|
||||
Diff.sum(const(1))(diff.diff) > 0
|
||||
(!Term.equals(annotation: const(true), leaf: ==)(diff.a, diff.b)) ==> Diff.sum(const(1))(diff.diff) > 0
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user