Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jba committed Jun 21, 2024
1 parent 495c677 commit f30d1e6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions go/plugins/localvec/localvec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,12 @@ func TestInit(t *testing.T) {
if err != nil {
t.Fatal(err)
}
if g := ind.Name(); g != name {
t.Errorf("got %q, want %q", g, name)
want := "devLocalVectorStore/" + name
if g := ind.Name(); g != want {
t.Errorf("got %q, want %q", g, want)
}
if g := ret.Name(); g != name {
t.Errorf("got %q, want %q", g, name)
if g := ret.Name(); g != want {
t.Errorf("got %q, want %q", g, want)
}
}

Expand Down

0 comments on commit f30d1e6

Please sign in to comment.