Skip to content

Commit

Permalink
Caps
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-artie committed May 2, 2024
1 parent 05ad468 commit 05c4e39
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/sql/dialect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ func TestSnowflakeDialect_QuoteIdentifier(t *testing.T) {
dialect := SnowflakeDialect{LegacyMode: true}
assert.Equal(t, `"FOO"`, dialect.QuoteIdentifier("foo"))
assert.Equal(t, `"FOO"`, dialect.QuoteIdentifier("FOO"))
assert.Equal(t, `"abc:def"`, dialect.QuoteIdentifier("abc:def")) // Symbol
assert.Equal(t, `"select"`, dialect.QuoteIdentifier("select")) // Reserved name
assert.Equal(t, `"order"`, dialect.QuoteIdentifier("order")) // Reserved name
assert.Equal(t, `"group"`, dialect.QuoteIdentifier("group")) // Reserved name
assert.Equal(t, `"start"`, dialect.QuoteIdentifier("start")) // Reserved name
assert.Equal(t, `"abc:def"`, dialect.QuoteIdentifier("abc:def")) // symbol
assert.Equal(t, `"select"`, dialect.QuoteIdentifier("select")) // reserved name
assert.Equal(t, `"order"`, dialect.QuoteIdentifier("order")) // reserved name
assert.Equal(t, `"group"`, dialect.QuoteIdentifier("group")) // reserved name
assert.Equal(t, `"start"`, dialect.QuoteIdentifier("start")) // reserved name
}
}

0 comments on commit 05c4e39

Please sign in to comment.