Commit 5a0d373f authored by Tobias Weingartner's avatar Tobias Weingartner

Missed fixing setup.

parent ecf91f52
...@@ -59,8 +59,8 @@ func TestMarkdownParse(t *testing.T) { ...@@ -59,8 +59,8 @@ func TestMarkdownParse(t *testing.T) {
}`, false, []markdown.Config{{ }`, false, []markdown.Config{{
PathScope: "/blog", PathScope: "/blog",
Extensions: map[string]struct{}{ Extensions: map[string]struct{}{
".md": struct{}{}, ".md": {},
".txt": struct{}{}, ".txt": {},
}, },
Styles: []string{"/resources/css/blog.css"}, Styles: []string{"/resources/css/blog.css"},
Scripts: []string{"/resources/js/blog.js"}, Scripts: []string{"/resources/js/blog.js"},
...@@ -72,7 +72,7 @@ func TestMarkdownParse(t *testing.T) { ...@@ -72,7 +72,7 @@ func TestMarkdownParse(t *testing.T) {
}`, false, []markdown.Config{{ }`, false, []markdown.Config{{
PathScope: "/blog", PathScope: "/blog",
Extensions: map[string]struct{}{ Extensions: map[string]struct{}{
".md": struct{}{}, ".md": {},
}, },
Template: markdown.GetDefaultTemplate(), Template: markdown.GetDefaultTemplate(),
}}}, }}},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment