From: Bjørn Erik Pedersen Date: Sat, 20 Aug 2016 19:52:14 +0000 (+0100) Subject: tpl: Add missing arg to Fatalf X-Git-Tag: v0.17~169 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fee9ee72a6dc93d872c36dd1d4e3a69dddde6da9;p=brevno-suite%2Fhugo tpl: Add missing arg to Fatalf --- diff --git a/tpl/template_funcs_test.go b/tpl/template_funcs_test.go index d5dac7d4..88152381 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))