Skip to content

Commit 023880c

Browse files
committed
bump coverage to 100%
1 parent e3e88e4 commit 023880c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bit_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ func TestBit(t *testing.T) {
88
if bf.IsSet(i) || !bf.IsClr(i) {
99
t.Error("got set, want clear")
1010
}
11-
bf.Set(i)
12-
if bf.IsClr(i) || !bf.IsSet(i) {
13-
t.Error("got clear, want set")
14-
}
1511
bf.Clr(i)
1612
if bf.IsSet(i) || !bf.IsClr(i) {
1713
t.Error("got set, want clear")
1814
}
15+
bf.Set(i)
16+
if bf.IsClr(i) || !bf.IsSet(i) {
17+
t.Error("got clear, want set")
18+
}
1919
}
2020
}

0 commit comments

Comments
 (0)