mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
tpl: Add missing arg to Fatalf
This commit is contained in:
parent
20c4311df4
commit
fee9ee72a6
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue