Skip to content

Commit

Permalink
Update pkg/callbacks/sql/sql_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
madflojo and coderabbitai[bot] authored Oct 13, 2024
1 parent 99f6b2c commit 98dcc4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/callbacks/sql/sql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func TestSQLQuery(t *testing.T) {
}

// Check Column Names
if rsp.Columns[0] != "id" && rsp.Columns[1] != "name" {
if rsp.Columns[0] != "id" || rsp.Columns[1] != "name" {
t.Fatalf("Unexpected column names returned - %v", rsp.Columns)
}

Expand Down

0 comments on commit 98dcc4d

Please sign in to comment.