fix lint error

Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
pull/7114/head
zwwhdls 6 years ago
parent 59eab1e4d0
commit 2d5352d4e7

@ -487,7 +487,7 @@ func TestAlterFuncMap_include(t *testing.T) {
t.Errorf("Expected %q, got %q (%v)", expect, got, out) t.Errorf("Expected %q, got %q (%v)", expect, got, out)
} }
out, err = Render(d, v) _, err = Render(d, v)
expectErrName := "nested/templates/quote" expectErrName := "nested/templates/quote"
if err == nil { if err == nil {
t.Errorf("Expected err of nested reference name: %v", expectErrName) t.Errorf("Expected err of nested reference name: %v", expectErrName)

Loading…
Cancel
Save