Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
zachmu committed Dec 1, 2023
1 parent 5ad8ce2 commit aba7200
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions testing/go/regression_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ func TestRegressions(t *testing.T) {
SetUpScript: []string{},
Assertions: []ScriptTestAssertion{
{
Query: "SELECT\n" +
Query: "SELECT\n" +
" CASE\n" +
" WHEN 1 = 1 THEN 'One is equal to One'\n" +
" ELSE 'One is not equal to One'\n" +
" END AS result;",
Expected: []sql.Row{{"One is equal to One"}},
},
{
Query: "SELECT\n" +
Query: "SELECT\n" +
" CASE\n" +
" WHEN NULL IS NULL THEN 'NULL is NULL'\n" +
" ELSE 'NULL is not NULL'\n" +
Expand All @@ -81,7 +81,7 @@ func TestRegressions(t *testing.T) {
},
},
{
Name: "ALL / DISTINCT in functions",
Name: "ALL / DISTINCT in functions",
SetUpScript: []string{
"create table t1 (pk int);",
"insert into t1 values (1), (2), (3), (1);",
Expand All @@ -102,7 +102,7 @@ func TestRegressions(t *testing.T) {
},
},
{
Name: "cross joins",
Name: "cross joins",
SetUpScript: []string{
"create table t1 (pk int);",
"create table t2 (pk int);",
Expand All @@ -122,4 +122,3 @@ func TestRegressions(t *testing.T) {
},
})
}

0 comments on commit aba7200

Please sign in to comment.