diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-04-12 19:18:02 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-04-12 19:18:02 +0200 |
commit | 206440eef2d1ba94b0e5f6057eac479f730dbe94 (patch) | |
tree | 1e95689b1643a63f4e4186d300f9f86971db34d3 /hugolib/shortcode_test.go | |
parent | 88759eecf7595a4ef603e13b1a01f2ddf98f1460 (diff) |
Fix broken tests
Diffstat (limited to 'hugolib/shortcode_test.go')
-rw-r--r-- | hugolib/shortcode_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/shortcode_test.go b/hugolib/shortcode_test.go index ab764b845..39a5ae39d 100644 --- a/hugolib/shortcode_test.go +++ b/hugolib/shortcode_test.go @@ -176,7 +176,7 @@ func TestInnerSCWithMarkdown(t *testing.T) { [link](http://spf13.com) and text -{{% /inside %}}`, "<div><h1 id=\"more-here:bec3ed8ba720b9073ab75abcf3ba5d97\">More Here</h1>\n\n<p><a href=\"http://spf13.com\">link</a> and text</p>\n</div>", tem) +{{% /inside %}}`, "<div><h1 id=\"more-here\">More Here</h1>\n\n<p><a href=\"http://spf13.com\">link</a> and text</p>\n</div>", tem) } func TestInnerSCWithAndWithoutMarkdown(t *testing.T) { @@ -198,7 +198,7 @@ And then: This is **plain** text. {{< /inside >}} -`, "<div><h1 id=\"more-here:bec3ed8ba720b9073ab75abcf3ba5d97\">More Here</h1>\n\n<p><a href=\"http://spf13.com\">link</a> and text</p>\n</div>\n\nAnd then:\n\n<div>\n# More Here\n\nThis is **plain** text.\n\n</div>\n", tem) +`, "<div><h1 id=\"more-here\">More Here</h1>\n\n<p><a href=\"http://spf13.com\">link</a> and text</p>\n</div>\n\nAnd then:\n\n<div>\n# More Here\n\nThis is **plain** text.\n\n</div>\n", tem) } func TestEmbeddedSC(t *testing.T) { |