diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-08-09 20:58:31 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-08-09 20:58:31 +0200 |
commit | 43a5aaa778416df85016c388eb581bf362a24b67 (patch) | |
tree | 2e05802ce66d000c0ea2df7211034bafa0b894f5 /hugolib | |
parent | 1639fd20d8429806462c0bcc6ee2c47a30cf51f2 (diff) |
Fix broken tests
Diffstat (limited to 'hugolib')
-rw-r--r-- | hugolib/embedded_shortcodes_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/embedded_shortcodes_test.go b/hugolib/embedded_shortcodes_test.go index 36ffe76c5..1ac050ab0 100644 --- a/hugolib/embedded_shortcodes_test.go +++ b/hugolib/embedded_shortcodes_test.go @@ -246,11 +246,11 @@ func TestShortcodeGist(t *testing.T) { }{ { `{{< gist spf13 7896402 >}}`, - "(?s)^<script src=\"//gist.github.com/spf13/7896402.js\"></script>", + "(?s)^<script type=\"application/javascript\" src=\"//gist.github.com/spf13/7896402.js\"></script>", }, { `{{< gist spf13 7896402 "img.html" >}}`, - "(?s)^<script src=\"//gist.github.com/spf13/7896402.js\\?file=img.html\"></script>", + "(?s)^<script type=\"application/javascript\" src=\"//gist.github.com/spf13/7896402.js\\?file=img.html\"></script>", }, } { var ( |