[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

This commit is contained in:
JCOR11599
2022-02-17 21:48:47 +00:00
parent c3fb13d05a
commit 776c205fbf
+2 -3
View File
@@ -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()...))