Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
Fix TestSimpleView
Browse files Browse the repository at this point in the history
Fixes #79
  • Loading branch information
gernest committed Jan 11, 2017
1 parent ec86c59 commit 3e0102f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/view_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func TestSimpleView(t *testing.T) {
for _, tpl := range tpls {
verr := v.Render(out, tpl, data)
if verr != nil {
t.Error(err)
t.Error(verr)
}
if !strings.Contains(out.String(), data.Name) {
t.Errorf("expeted %s to contain %s", out.String(), data.Name)
Expand Down

0 comments on commit 3e0102f

Please sign in to comment.