Skip to content

Commit 97b69d5

Browse files
author
James Cor
committed
test
1 parent e40b1ed commit 97b69d5

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

enginetest/memory_engine_test.go

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -200,23 +200,18 @@ func TestSingleQueryPrepared(t *testing.T) {
200200

201201
// Convenience test for debugging a single query. Unskip and set to the desired query.
202202
func TestSingleScript(t *testing.T) {
203-
t.Skip()
203+
//t.Skip()
204204
var scripts = []queries.ScriptTest{
205205
{
206-
Name: "AS OF propagates to nested CALLs",
207-
SetUpScript: []string{},
206+
Name: "aaaaa",
207+
SetUpScript: []string{
208+
"create table t (i int primary key, j int);",
209+
"insert into t values (1, 1), (2, 2), (3, 3);",
210+
},
208211
Assertions: []queries.ScriptTestAssertion{
209212
{
210-
Query: "create procedure create_proc() create table t (i int primary key, j int);",
211-
Expected: []sql.Row{
212-
{types.NewOkResult(0)},
213-
},
214-
},
215-
{
216-
Query: "call create_proc()",
217-
Expected: []sql.Row{
218-
{types.NewOkResult(0)},
219-
},
213+
Query: "select * from t where i in (1, 2, 3)",
214+
Expected: []sql.Row{},
220215
},
221216
},
222217
},

0 commit comments

Comments
 (0)