Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tpl
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-08-20 22:52:14 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-08-20 22:52:14 +0300
commitfee9ee72a6dc93d872c36dd1d4e3a69dddde6da9 (patch)
tree304c722dd9bd5b458fd816f950d081052abdc705 /tpl
parent20c4311df4e61edb449ec93837cdde96a700b879 (diff)
tpl: Add missing arg to Fatalf
Diffstat (limited to 'tpl')
-rw-r--r--tpl/template_funcs_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/template_funcs_test.go b/tpl/template_funcs_test.go
index d5dac7d44..881523811 100644
--- a/tpl/template_funcs_test.go
+++ b/tpl/template_funcs_test.go
@@ -1742,7 +1742,7 @@ func TestMarkdownify(t *testing.T) {
} {
result, err := markdownify(this.in)
if err != nil {
- t.Fatalf("[%d] unexpected error in markdownify", i, err)
+ t.Fatalf("[%d] unexpected error in markdownify: %s", i, err)
}
if !reflect.DeepEqual(result, this.expect) {
t.Errorf("[%d] markdownify got %v (type %v) but expected %v (type %v)", i, result, reflect.TypeOf(result), this.expect, reflect.TypeOf(this.expect))