Skip to content

Commit

Permalink
test: use different names for index options
Browse files Browse the repository at this point in the history
  • Loading branch information
erichartline committed May 6, 2020
1 parent 5f6332d commit ab92575
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions database_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func TestEnsureFullTextIndex(t *testing.T) {
c := setup(adbh, t)
defer teardown(c, t)
assert := assert.New(t)
name := "entry_id"
name := "group"
index, b, err := adbh.EnsureFullTextIndex(c.Name(), []string{name}, &driver.EnsureFullTextIndexOptions{
Name: name,
})
Expand All @@ -135,7 +135,7 @@ func TestEnsureGeoIndex(t *testing.T) {
c := setup(adbh, t)
defer teardown(c, t)
assert := assert.New(t)
name := "entry_id"
name := "value"
index, b, err := adbh.EnsureGeoIndex(c.Name(), []string{name}, &driver.EnsureGeoIndexOptions{
Name: name,
})
Expand Down Expand Up @@ -186,7 +186,7 @@ func TestEnsureSkipListIndex(t *testing.T) {
c := setup(adbh, t)
defer teardown(c, t)
assert := assert.New(t)
name := "entry_id"
name := "created_at"
index, b, err := adbh.EnsureSkipListIndex(c.Name(), []string{name}, &driver.EnsureSkipListIndexOptions{
Name: name,
})
Expand Down

0 comments on commit ab92575

Please sign in to comment.