Skip to content

Commit 4794dd0

Browse files
committed
fix output
1 parent 8d27403 commit 4794dd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/endtoend/endtoend_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func TestGenerate(t *testing.T) {
6767
cmd := exec.Command(sqlc, "diff")
6868
cmd.Dir = dir
6969
got, err := cmd.CombinedOutput()
70-
if diff := cmp.Diff(want, got); diff != "" {
70+
if diff := cmp.Diff(string(want), string(got)); diff != "" {
7171
t.Errorf("sqlc diff mismatch (-want +got):\n%s", diff)
7272
}
7373
if len(want) == 0 && err != nil {

0 commit comments

Comments
 (0)