projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0326a1
)
tpl: Add missing printf param in t.Errorf call
author
Cameron Moore
<moorereason@gmail.com>
Wed, 16 Mar 2016 19:54:06 +0000
(14:54 -0500)
committer
Bjørn Erik Pedersen
<bjorn.erik.pedersen@gmail.com>
Thu, 17 Mar 2016 19:07:41 +0000
(20:07 +0100)
tpl/template_test.go
patch
|
blob
|
history
diff --git
a/tpl/template_test.go
b/tpl/template_test.go
index 073029fee3ab6a48cb487e321703741fabb47016..9649a8fa8890d03c0e9a1cdc9f2340a79b3b6851 100644
(file)
--- a/
tpl/template_test.go
+++ b/
tpl/template_test.go
@@
-16,8
+16,6
@@
package tpl
import (
"bytes"
"errors"
- "github.com/spf13/afero"
- "github.com/spf13/hugo/hugofs"
"html/template"
"io/ioutil"
"os"
@@
-25,6
+23,9
@@
import (
"runtime"
"strings"
"testing"
+
+ "github.com/spf13/afero"
+ "github.com/spf13/hugo/hugofs"
)
// Some tests for Issue #1178 -- Ace
@@
-151,7
+152,7
@@
func TestAddTemplateFileWithMaster(t *testing.T) {
resultTpl := templ.Lookup(finalTplName)
if resultTpl == nil {
- t.Errorf("[%d] AddTemplateFileWithMaster: Result te
amplate not found"
)
+ t.Errorf("[%d] AddTemplateFileWithMaster: Result te
mplate not found", i
)
continue
}