add a test

This commit is contained in:
James Cor
2022-09-07 11:22:29 -07:00
parent d1c3d12d89
commit e017187666
@@ -1277,6 +1277,24 @@ var HistorySystemTableScriptTests = []queries.ScriptTest{
},
},
},
{
Name: "dolt_history table with enums",
SetUpScript: []string{
"create table t (pk int primary key, c1 enum('foo','bar'));",
"call dolt_add('-A');",
"call dolt_commit('-m', 'creating table t');",
"insert into t values (1, 'foo');",
"call dolt_commit('-am', 'added values');",
},
Assertions: []queries.ScriptTestAssertion{
{
Query: "select c1 from dolt_history_t;",
Expected: []sql.Row{
{uint64(1)},
},
},
},
},
}
// BrokenHistorySystemTableScriptTests contains tests that work for non-prepared, but don't work