Skip to content

Commit 872517e

Browse files
committed
minor fix
1 parent 970a8cb commit 872517e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

iter_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ func TestUnsetIteratorPeekable(t *testing.T) {
434434

435435
t.Run("range including max uint32 unset", func(t *testing.T) {
436436
b := New()
437-
b.AddInt(4294967294) // Set the value before max
437+
b.Add(4294967294) // Set the value before max
438438

439439
it := b.UnsetIterator(4294967294, 4294967295)
440440

@@ -449,7 +449,7 @@ func TestUnsetIteratorPeekable(t *testing.T) {
449449

450450
t.Run("max uint32 set", func(t *testing.T) {
451451
b := New()
452-
b.AddInt(4294967295) // Set max uint32
452+
b.Add(4294967295) // Set max uint32
453453

454454
it := b.UnsetIterator(4294967294, 4294967295)
455455

0 commit comments

Comments
 (0)