aboutsummaryrefslogtreecommitdiff
path: root/markdown/ast_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'markdown/ast_test.go')
-rw-r--r--markdown/ast_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/ast_test.go b/markdown/ast_test.go
index c0c7fb3..5e5a4f9 100644
--- a/markdown/ast_test.go
+++ b/markdown/ast_test.go
@@ -69,7 +69,7 @@ func testWithOptions(opt *Option, input, expected string) func(*testing.T) {
t.Parallel()
got, err := Parse(input, opt)
if err != nil {
- t.Fatal(err)
+ t.Fatal(err.Pretty())
}
if string(got) != expected {
t.Errorf("invalid value, got %s", got)