Skip to content

Commit

Permalink
Rename var
Browse files Browse the repository at this point in the history
  • Loading branch information
timvaillancourt committed Dec 28, 2022
1 parent ae43e3f commit 91b7bfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/sql/builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,8 @@ func TestBuildUniqueKeyRangeEndPreparedQuery(t *testing.T) {
func TestBuildUniqueKeyMinValuesPreparedQuery(t *testing.T) {
databaseName := "mydb"
originalTableName := "tbl"
columnList := NewColumnList([]string{"name", "position"})
uniqueKey := &UniqueKey{Name: "PRIMARY", Columns: *columnList}
uniqueKeyColumns := NewColumnList([]string{"name", "position"})
uniqueKey := &UniqueKey{Name: "PRIMARY", Columns: *uniqueKeyColumns}
{
query, err := BuildUniqueKeyMinValuesPreparedQuery(databaseName, originalTableName, uniqueKey)
test.S(t).ExpectNil(err)
Expand Down

0 comments on commit 91b7bfe

Please sign in to comment.