Skip to content

Commit

Permalink
chore: remove check for ZOEKT_ENABLE_NGRAM_BS (#558)
Browse files Browse the repository at this point in the history
I removed the code for binary search ngrams in #540, so this check is
not needed anymore.
  • Loading branch information
stefanhengl authored Mar 14, 2023
1 parent 45754a7 commit 51a31b6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions index_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"bytes"
"context"
"fmt"
"os"
"reflect"
"regexp/syntax"
"strings"
Expand Down Expand Up @@ -1783,10 +1782,6 @@ func TestListRepos(t *testing.T) {
},
}

if os.Getenv("ZOEKT_ENABLE_NGRAM_BS") != "" {
want.Stats.IndexBytes = 228
}

if diff := cmp.Diff(want, res); diff != "" {
t.Fatalf("mismatch (-want +got):\n%s", diff)
}
Expand Down

0 comments on commit 51a31b6

Please sign in to comment.