Skip to content

Commit

Permalink
Fix cmd test
Browse files Browse the repository at this point in the history
  • Loading branch information
asdine committed Jun 27, 2022
1 parent 0964ce2 commit 22fc22c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/genji/dbutil/exec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func TestExecSQL(t *testing.T) {
`), &got)
assert.NoError(t, err)

require.Equal(t, "{\n \"a\": 1,\n \"b\": 2\n}\n{\n \"a\": 2,\n \"b\": 2\n}\n{\n \"a\": 3,\n \"b\": 2\n}\n{\n \"a\": 1,\n \"b\": 2\n}\n{\n \"a\": 2,\n \"b\": 2\n}\n{\n \"a\": 3,\n \"b\": 2\n}\n", got.String())
require.Equal(t, "{\n \"a\": 1,\n \"b\": 2\n}\n{\n \"a\": 2,\n \"b\": 2\n}\n{\n \"a\": 3,\n \"b\": 2\n}\n", got.String())

// Ensure that the data is present.
doc, err := db.QueryDocument("SELECT * FROM test")
Expand Down

0 comments on commit 22fc22c

Please sign in to comment.