tpl: Add missing arg to Fatalf

This commit is contained in:
Bjørn Erik Pedersen 2016-08-20 20:52:14 +01:00
parent 20c4311df4
commit fee9ee72a6

View file

@ -1742,7 +1742,7 @@ func TestMarkdownify(t *testing.T) {
} { } {
result, err := markdownify(this.in) result, err := markdownify(this.in)
if err != nil { 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) { 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)) t.Errorf("[%d] markdownify got %v (type %v) but expected %v (type %v)", i, result, reflect.TypeOf(result), this.expect, reflect.TypeOf(this.expect))