Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
Update printer/printer_test.go
Browse files Browse the repository at this point in the history
Co-Authored-By: Miguel de la Cruz <[email protected]>
  • Loading branch information
isacikgoz and mgdelacroix authored Mar 13, 2020
1 parent 38b4f99 commit 4516a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion printer/printer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func TestPrintT(t *testing.T) {
t.Run("should execute template", func(t *testing.T) {
tpl := `testing template {{.ID}}`
PrintT(tpl, ts)
assert.Equal(t, "testing template 123", printer.Lines[0], "should be equal")
assert.Equal(t, "testing template 123", printer.Lines[0])
})

t.Run("should fail to execute, no method or field", func(t *testing.T) {
Expand Down

0 comments on commit 4516a58

Please sign in to comment.