Skip to content

Commit

Permalink
fix output
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleconroy committed Nov 1, 2023
1 parent 8d27403 commit 4794dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/endtoend/endtoend_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func TestGenerate(t *testing.T) {
cmd := exec.Command(sqlc, "diff")
cmd.Dir = dir
got, err := cmd.CombinedOutput()
if diff := cmp.Diff(want, got); diff != "" {
if diff := cmp.Diff(string(want), string(got)); diff != "" {
t.Errorf("sqlc diff mismatch (-want +got):\n%s", diff)
}
if len(want) == 0 && err != nil {
Expand Down

0 comments on commit 4794dd0

Please sign in to comment.