diff --git a/tpl/template_funcs_test.go b/tpl/template_funcs_test.go index 720f04067..edb454901 100644 --- a/tpl/template_funcs_test.go +++ b/tpl/template_funcs_test.go @@ -690,8 +690,8 @@ func TestImageConfig(t *testing.T) { t.Error("Expected error from imageConfig when passed invalid path") } - if _, err := imageConfig("non-existant.png"); err == nil { - t.Error("Expected error from imageConfig when passed non-existant file") + if _, err := imageConfig("non-existent.png"); err == nil { + t.Error("Expected error from imageConfig when passed non-existent file") } // test cache clearing