Skip to content

Commit

Permalink
fixed redshift unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: adarsh-jaiss <[email protected]>
  • Loading branch information
Adarsh-jaiss committed May 22, 2024
1 parent f5a5810 commit 5c977a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion databases/redshift/redshift_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func TestGenerateCreateTableQuery(t *testing.T) {

fmt.Printf("Create table query: %v\n", query)

expectedQuery := `CREATE TABLE ..user (id INT PRIMARY KEY IDENTITY({0 false}, {0 false}) NOT NULL, name VARCHAR(255) NOT NULL, age INT);`
expectedQuery := `CREATE TABLE ..user (id INTEGER PRIMARY KEY IDENTITY({0 false}, {0 false}) NOT NULL, name VARCHAR(255) NOT NULL, age INTEGER);`
if query != expectedQuery {
t.Errorf("Expected '%s', but got '%s'", expectedQuery, query)
}
Expand Down

0 comments on commit 5c977a1

Please sign in to comment.