Skip to content

Commit 078bac6

Browse files
committed
Correct issue test
1 parent 5f3d148 commit 078bac6

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

testing/go/issues_test.go

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,36 @@ package _go
1717
import "testing"
1818

1919
func TestIssues(t *testing.T) {
20-
t.Skip("need to implement AST conversions")
2120
RunScripts(t, []ScriptTest{
2221
{
2322
Name: "Issue #25",
2423
SetUpScript: []string{
2524
"create table tbl (pk int);",
2625
"insert into tbl values (1);",
27-
`call dolt_add(".");`,
28-
`call dolt_commit("-m", "look ma");`,
2926
},
3027
Assertions: []ScriptTestAssertion{
3128
{
32-
Query: `call dolt_branch("br1");`,
29+
Query: `call dolt_add(".");`,
30+
ExpectedErr: true,
31+
},
32+
{
33+
Query: `call dolt_add('.');`,
34+
SkipResultsCheck: true,
35+
},
36+
{
37+
Query: `call dolt_commit("-m", "look ma");`,
38+
ExpectedErr: true,
39+
},
40+
{
41+
Query: `call dolt_commit('-m', 'look ma');`,
42+
SkipResultsCheck: true,
43+
},
44+
{
45+
Query: `call dolt_branch("br1");`,
46+
ExpectedErr: true,
47+
},
48+
{
49+
Query: `call dolt_branch('br1');`,
3350
SkipResultsCheck: true,
3451
},
3552
},

0 commit comments

Comments
 (0)