Skip to content

Commit c9d6306

Browse files
committed
fix tests
1 parent 6f71edf commit c9d6306

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

enginetest/queries/create_table_queries.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ var CreateTableScriptTests = []ScriptTest{
837837
Query: "show create table t4;",
838838
Expected: []sql.Row{
839839
{"t4", "CREATE TABLE `t4` (\n" +
840-
" `(a.j + 1)` bigint\n" +
840+
" `j + 1` bigint\n" +
841841
") ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"},
842842
},
843843
},
@@ -995,7 +995,7 @@ var CreateTableScriptTests = []ScriptTest{
995995
Assertions: []ScriptTestAssertion{
996996
{
997997
Query: "show create table t2;",
998-
// TODO: MySQL has the column type as 'decimal(32,0) DEFAULT NULL'
998+
// TODO: MySQL has the column type as 'decimal(32,0) DEFAULT NULL' https://github.com/dolthub/dolt/issues/9754
999999
Expected: []sql.Row{{"t2", "CREATE TABLE `t2` (\n `sum(i)` double NOT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
10001000
},
10011001
},

enginetest/queries/script_queries.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4693,7 +4693,7 @@ CREATE TABLE tab3 (
46934693
{
46944694
Query: "select COLUMN_NAME, DATA_TYPE from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME='c';",
46954695
Expected: []sql.Row{
4696-
{"coalesce(NULL,1)", "int"},
4696+
{"coalesce(NULL, 1)", "int"},
46974697
},
46984698
},
46994699
},

0 commit comments

Comments
 (0)