Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
drewstinnett committed Feb 21, 2024
1 parent 57aed16 commit 75cafee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gout_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,5 @@ func TestWriterAddNewlines(t *testing.T) {
var buf bytes.Buffer
c.SetWriter(&buf)
c.Print(struct{ Foo string }{Foo: "bar"})
require.Equal(t, true, strings.HasSuffix(buf.String(), "\n"), "Printer did not have a linebreak suffix")
require.True(t, strings.HasSuffix(buf.String(), "\n"), "Printer did not have a linebreak suffix")
}

0 comments on commit 75cafee

Please sign in to comment.