mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 22:16:02 +00:00
tpl: Fix spelling in test
This commit is contained in:
1 parent
7665dd239e
commit
174f97a9dd
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user