style: reformat test tables
This commit is contained in:
@@ -140,9 +140,15 @@ func TestFormatDefaultValue(t *testing.T) {
|
||||
in any
|
||||
want string
|
||||
}{
|
||||
{"now()", "now()"}, {"gen_random_uuid()", "uuid()"}, {"uuid_generate_v4()", "uuid()"},
|
||||
{"hello", `"hello"`}, {true, "true"}, {false, "false"},
|
||||
{42, "42"}, {int64(7), "7"}, {1.5, "1.5"},
|
||||
{"now()", "now()"},
|
||||
{"gen_random_uuid()", "uuid()"},
|
||||
{"uuid_generate_v4()", "uuid()"},
|
||||
{"hello", `"hello"`},
|
||||
{true, "true"},
|
||||
{false, "false"},
|
||||
{42, "42"},
|
||||
{int64(7), "7"},
|
||||
{1.5, "1.5"},
|
||||
}
|
||||
for _, tt := range tests {
|
||||
if got := w.formatDefaultValue(tt.in); got != tt.want {
|
||||
|
||||
Reference in New Issue
Block a user