shithub: hugo

Download patch

ref: 174f97a9dd6c08bad0d5074265b0dc1c86ca835f
parent: 7665dd239e825be83c0eabadb914f5859bb902af
author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
date: Wed Nov 23 04:17:47 EST 2016

tpl: Fix spelling in test

--- a/tpl/template_funcs_test.go
+++ b/tpl/template_funcs_test.go
@@ -690,8 +690,8 @@
 		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
--