From aa66478c201053165e5f7dd041915f68f7f87c27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 1 Jul 2016 15:12:36 +0200 Subject: [PATCH] Add Emoji test case See #2246 --- helpers/emoji_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/helpers/emoji_test.go b/helpers/emoji_test.go index c4e6dcf89..c310e6d28 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))