Skipt Twitter test in short mode
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 13 Aug 2016 16:50:06 +0000 (18:50 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 13 Aug 2016 16:50:06 +0000 (18:50 +0200)
hugolib/embedded_shortcodes_test.go

index 9092272d505e3a0e3141fc9875cbcb1e227ad0be..360ec120991e65a795109a4added28b384ffdedc 100644 (file)
@@ -282,6 +282,10 @@ func TestShortcodeGist(t *testing.T) {
 }
 
 func TestShortcodeTweet(t *testing.T) {
+       if testing.Short() {
+               t.Skip("skipping Twitter test in short mode.")
+       }
+
        for i, this := range []struct {
                in, expected string
        }{