Skip to content

Commit 3f59479

Browse files
author
Nathan Gabrielson
committed
Move test
1 parent bccc50d commit 3f59479

1 file changed

Lines changed: 9 additions & 18 deletions

File tree

testing/go/create_table_test.go

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,15 @@ func TestCreateTable(t *testing.T) {
376376
},
377377
},
378378
},
379+
{
380+
Name: "create temporary table with serial column",
381+
Assertions: []ScriptTestAssertion{
382+
{
383+
Query: "CREATE TEMP TABLE temp (id serial primary key)",
384+
Expected: []sql.Row{},
385+
},
386+
},
387+
},
379388
})
380389
}
381390

@@ -450,21 +459,3 @@ func TestCreateTableInherit(t *testing.T) {
450459
},
451460
})
452461
}
453-
454-
func TestCreateTemporaryTable(t *testing.T) {
455-
RunScripts(t, []ScriptTest{
456-
{
457-
Name: "Create temporary table with serial column",
458-
Assertions: []ScriptTestAssertion{
459-
{
460-
Query: "CREATE TEMP TABLE temp (id serial primary key)",
461-
Expected: []sql.Row{},
462-
},
463-
{
464-
Query: "CREATE TEMP TABLE temp2 (id serial)",
465-
Expected: []sql.Row{},
466-
},
467-
},
468-
},
469-
})
470-
}

0 commit comments

Comments
 (0)