summaryrefslogtreecommitdiffstats
path: root/markup/goldmark/convert_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'markup/goldmark/convert_test.go')
-rw-r--r--markup/goldmark/convert_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/markup/goldmark/convert_test.go b/markup/goldmark/convert_test.go
index ed791448b..6d73b301f 100644
--- a/markup/goldmark/convert_test.go
+++ b/markup/goldmark/convert_test.go
@@ -109,7 +109,7 @@ LINE1
* Autolink: https://gohugo.io/
* Strikethrough:~~Hi~~ Hello, world!
-
+
## Table
| foo | bar |
@@ -137,7 +137,7 @@ That's some text with a footnote.[^1]
## Definition Lists
date
-: the datetime assigned to this page.
+: the datetime assigned to this page.
description
: the description for the content.
@@ -204,8 +204,8 @@ unsafe = true
toc, ok := b.(converter.TableOfContentsProvider)
c.Assert(ok, qt.Equals, true)
- tocHTML := toc.TableOfContents().ToHTML(1, 2, false)
- c.Assert(tocHTML, qt.Contains, "TableOfContents")
+ tocString := string(toc.TableOfContents().ToHTML(1, 2, false))
+ c.Assert(tocString, qt.Contains, "TableOfContents")
}
func TestConvertAutoIDAsciiOnly(t *testing.T) {