ref: 600558273e34215098664290c3364d5291cdb77a
parent: b0326a1c0fca3a4cf07ba66e5cfd9d756a00629f
author: Cameron Moore <[email protected]>
date: Wed Mar 16 10:54:06 EDT 2016
tpl: Add missing printf param in t.Errorf call
--- a/tpl/template_test.go
+++ b/tpl/template_test.go
@@ -16,8 +16,6 @@
import (
"bytes"
"errors"
- "github.com/spf13/afero"
- "github.com/spf13/hugo/hugofs"
"html/template"
"io/ioutil"
"os"
@@ -25,6 +23,9 @@
"runtime"
"strings"
"testing"
+
+ "github.com/spf13/afero"
+ "github.com/spf13/hugo/hugofs"
)
// Some tests for Issue #1178 -- Ace
@@ -151,7 +152,7 @@
resultTpl := templ.Lookup(finalTplName)
if resultTpl == nil {
- t.Errorf("[%d] AddTemplateFileWithMaster: Result teamplate not found")
+ t.Errorf("[%d] AddTemplateFileWithMaster: Result template not found", i)
continue
}