Skip to content

Commit 69146ec

Browse files
committed
Tweak the test
1 parent 6e1cecf commit 69146ec

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

iter_test.go

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func TestBackwardCount(t *testing.T) {
2727

2828
func TestBackward(t *testing.T) {
2929
t.Run("#1", func(t *testing.T) {
30-
values := []uint32{0, 2, 15, 16, 31, 32, 33, 9999, MaxUint16, MaxUint32}
30+
values := []uint32{0, 2, 15, 16, 31, 32, 33, 9999, MaxUint16}
3131
b := New()
3232
for n := 0; n < len(values); n++ {
3333
b.Add(values[n])
@@ -99,18 +99,6 @@ func TestBackward(t *testing.T) {
9999
return true
100100
})
101101
})
102-
103-
t.Run("#6", func(t *testing.T) {
104-
b := New()
105-
b.AddInt(MaxUint32)
106-
it := Values(b)
107-
108-
// only one value MaxUint32
109-
it(func(val uint32) bool {
110-
assert.EqualValues(t, uint32(MaxUint32), val)
111-
return true
112-
})
113-
})
114102
}
115103

116104
func TestValues(t *testing.T) {

0 commit comments

Comments
 (0)