Permalink
Browse files

Fix broken tests

  • Loading branch information...
bep committed Aug 9, 2018
1 parent 1639fd2 commit 43a5aaa778416df85016c388eb581bf362a24b67
Showing with 2 additions and 3 deletions.
  1. +2 −2 hugolib/embedded_shortcodes_test.go
  2. +0 −1 resource/image_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 (
@@ -16,7 +16,6 @@ package resource
import (
"fmt"
"math/rand"
"os"
"path/filepath"
"strconv"
"testing"

0 comments on commit 43a5aaa

Please sign in to comment.