style: reformat test tables

This commit is contained in:
2026-10-03 21:41:54 +02:00
parent bed80b046b
commit b49859537b
12 changed files with 146 additions and 59 deletions
+9 -3
View File
@@ -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 {