From: Bjørn Erik Pedersen Date: Thu, 9 Aug 2018 18:58:31 +0000 (+0200) Subject: Fix broken tests X-Git-Tag: v0.47~29 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=43a5aaa778416df85016c388eb581bf362a24b67;p=brevno-suite%2Fhugo Fix broken tests --- diff --git a/hugolib/embedded_shortcodes_test.go b/hugolib/embedded_shortcodes_test.go index 36ffe76c..1ac050ab 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)^", + "(?s)^", }, { `{{< gist spf13 7896402 "img.html" >}}`, - "(?s)^", + "(?s)^", }, } { var ( diff --git a/resource/image_test.go b/resource/image_test.go index d6bd2b0d..a9aacbdc 100644 --- a/resource/image_test.go +++ b/resource/image_test.go @@ -16,7 +16,6 @@ package resource import ( "fmt" "math/rand" - "os" "path/filepath" "strconv" "testing"