mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-04 11:30:14 -05:00
[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
This commit is contained in:
@@ -468,7 +468,7 @@ func TestIndexCollectionDuplicateIndexes(t *testing.T) {
|
||||
|
||||
// Create original index
|
||||
origIndex := struct {
|
||||
cols[] string
|
||||
cols []string
|
||||
index *indexImpl
|
||||
}{
|
||||
[]string{"v1"},
|
||||
@@ -482,7 +482,7 @@ func TestIndexCollectionDuplicateIndexes(t *testing.T) {
|
||||
|
||||
// Create duplicate index
|
||||
copyIndex := struct {
|
||||
cols[] string
|
||||
cols []string
|
||||
index *indexImpl
|
||||
}{
|
||||
[]string{"v1"},
|
||||
@@ -518,7 +518,6 @@ func TestIndexCollectionDuplicateIndexes(t *testing.T) {
|
||||
assert.True(t, indexColl.hasIndexOnColumns(resOrigIndex.ColumnNames()...))
|
||||
assert.True(t, indexColl.hasIndexOnTags(resOrigIndex.IndexedColumnTags()...))
|
||||
|
||||
|
||||
// Check that indexColl doesn't yet contain copyIndex by name, but by other properties
|
||||
assert.False(t, indexColl.Contains(copyIndex.index.Name()))
|
||||
assert.True(t, indexColl.hasIndexOnColumns(copyIndex.index.ColumnNames()...))
|
||||
|
||||
Reference in New Issue
Block a user