Skip to content

Commit

Permalink
Merge pull request #73 from dolthub/daylon/fix-column
Browse files Browse the repository at this point in the history
Correct issue test
  • Loading branch information
Hydrocharged authored Dec 13, 2023
2 parents 5f3d148 + 078bac6 commit 837866e
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions testing/go/issues_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,36 @@ package _go
import "testing"

func TestIssues(t *testing.T) {
t.Skip("need to implement AST conversions")
RunScripts(t, []ScriptTest{
{
Name: "Issue #25",
SetUpScript: []string{
"create table tbl (pk int);",
"insert into tbl values (1);",
`call dolt_add(".");`,
`call dolt_commit("-m", "look ma");`,
},
Assertions: []ScriptTestAssertion{
{
Query: `call dolt_branch("br1");`,
Query: `call dolt_add(".");`,
ExpectedErr: true,
},
{
Query: `call dolt_add('.');`,
SkipResultsCheck: true,
},
{
Query: `call dolt_commit("-m", "look ma");`,
ExpectedErr: true,
},
{
Query: `call dolt_commit('-m', 'look ma');`,
SkipResultsCheck: true,
},
{
Query: `call dolt_branch("br1");`,
ExpectedErr: true,
},
{
Query: `call dolt_branch('br1');`,
SkipResultsCheck: true,
},
},
Expand Down

0 comments on commit 837866e

Please sign in to comment.