correct formatting

pull/4178/head
Rob Wilson 2015-10-07 20:35:05 +01:00
parent 5fd8777c56
commit d8ac746703
1 changed files with 4 additions and 4 deletions

View File

@ -670,8 +670,8 @@ func TestApplyTemplateFieldError(t *testing.T) {
}
_, _, _, err = p.ApplyTemplate("current.users.logged_in")
if err == nil {
t.Errorf("Parser.ApplyTemplate unexpected result. got %s, exp %s", err,
"'field' can only be used once in each template: current.users.logged_in")
}
if err == nil {
t.Errorf("Parser.ApplyTemplate unexpected result. got %s, exp %s", err,
"'field' can only be used once in each template: current.users.logged_in")
}
}