mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
hugolib: Fix broken test
This commit is contained in:
parent
2d1d33673d
commit
9ef4dca361
1 changed files with 2 additions and 2 deletions
|
@ -250,11 +250,11 @@ func TestShortcodeGist(t *testing.T) {
|
|||
}{
|
||||
{
|
||||
`{{< gist spf13 7896402 >}}`,
|
||||
"(?s)^<script type=\"application/javascript\" src=\"//gist.github.com/spf13/7896402.js\"></script>",
|
||||
"(?s)^<script type=\"application/javascript\" src=\"https://gist.github.com/spf13/7896402.js\"></script>",
|
||||
},
|
||||
{
|
||||
`{{< gist spf13 7896402 "img.html" >}}`,
|
||||
"(?s)^<script type=\"application/javascript\" src=\"//gist.github.com/spf13/7896402.js\\?file=img.html\"></script>",
|
||||
"(?s)^<script type=\"application/javascript\" src=\"https://gist.github.com/spf13/7896402.js\\?file=img.html\"></script>",
|
||||
},
|
||||
} {
|
||||
var (
|
||||
|
|
Loading…
Reference in a new issue