mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 08:47:28 +01:00
Tweak lib/interval's split3Ways' return values
This commit is contained in:
1 parent
960a3b76d7
commit
d90ad9d282
2 files changed
+35
-31
No files matched your search
@@ -303,7 +303,8 @@ func TestContainsEtc(tt *testing.T) {
|
||||
}
|
||||
|
||||
for _, x := range eqTestCases {
|
||||
neg, pos, negEmpty, hasZero, posEmpty := x.split()
|
||||
neg, pos, hasNeg, hasZero, hasPos := x.split3Ways()
|
||||
negEmpty, posEmpty := !hasNeg, !hasPos
|
||||
if got, want := neg.Empty(), negEmpty; got != want {
|
||||
tt.Errorf("%v: neg.Empty() == %t, negEmpty == %t", x, got, want)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user