Skip to content

Commit

Permalink
print output string
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisWiegman committed Jun 3, 2024
1 parent 09cdc65 commit 316c013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func RunSnapshotTest(testCases []Test, t *testing.T) {
cmd.Stdout = &out
err := cmd.Run()
if err != nil {
t.Fatalf("Unexpected error: %v", out)
t.Fatalf("Unexpected error: %v", out.String())
}

snaps.MatchSnapshot(t, out.String())
Expand Down

0 comments on commit 316c013

Please sign in to comment.