Skip to content

Commit

Permalink
int tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jcieslak committed Oct 12, 2023
1 parent 47f9008 commit 261ab6f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pkg/sdk/testint/external_tables_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,3 +408,14 @@ func TestInt_ExternalTables(t *testing.T) {
})
})
}

type AllowedValue struct {
Value string `ddl:"keyword,single_quotes"`
}

func TestT(t *testing.T) {
a := AllowedValue{Value: "123"}
b, err := structToSQL(a)
require.NoError(t, err)
assert.Equal(t, `'123'`, b)
}

0 comments on commit 261ab6f

Please sign in to comment.