Skip to content

Commit

Permalink
fix: use bc2 instead of bc
Browse files Browse the repository at this point in the history
  • Loading branch information
Tam Le committed Jan 11, 2024
1 parent b580e0e commit 7f20651
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions merge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ func TestSkipHintAndMergeFile(t *testing.T) {

for i := 0; i < 100; i++ {
key, val := fmt.Sprintf("key%v", i), fmt.Sprintf("val%v", i)
fetchedVal, err := bc.Get([]byte(key))
fetchedVal, err := bc2.Get([]byte(key))
assert.Nil(t, err)
assert.EqualValues(t, val, fetchedVal)

key, val = fmt.Sprintf("newkey%v", i), fmt.Sprintf("newval%v", i)
fetchedVal, err = bc.Get([]byte(key))
fetchedVal, err = bc2.Get([]byte(key))
assert.Nil(t, err)
assert.EqualValues(t, val, fetchedVal)
}
Expand Down

0 comments on commit 7f20651

Please sign in to comment.