From: Bjørn Erik Pedersen Date: Fri, 1 Jul 2016 13:12:36 +0000 (+0200) Subject: Add Emoji test case X-Git-Tag: v0.17~261 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=aa66478c201053165e5f7dd041915f68f7f87c27;p=brevno-suite%2Fhugo Add Emoji test case See #2246 --- diff --git a/helpers/emoji_test.go b/helpers/emoji_test.go index c4e6dcf8..c310e6d2 100644 --- a/helpers/emoji_test.go +++ b/helpers/emoji_test.go @@ -51,6 +51,7 @@ func TestEmojiCustom(t *testing.T) { :beer:`, []byte(`Aaaaaaaaaa: aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa. 🍺`)}, + {"test :\n```bash\nthis is a test\n```\n\ntest\n\n:cool::blush:::pizza:\\:blush : : blush: :pizza:", []byte("test :\n```bash\nthis is a test\n```\n\ntest\n\n🆒😊:🍕\\:blush : : blush: 🍕")}, } { result := Emojify([]byte(this.input))