summaryrefslogtreecommitdiffstats
path: root/helpers/emoji_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-07-01 15:12:36 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-07-01 17:06:13 +0200
commitaa66478c201053165e5f7dd041915f68f7f87c27 (patch)
tree1b13df0c788caeb7acc638c2efb619e410b35a9e /helpers/emoji_test.go
parent7e08d23eebe8de8c688150900423dca6234b22a8 (diff)
Add Emoji test case
See #2246
Diffstat (limited to 'helpers/emoji_test.go')
-rw-r--r--helpers/emoji_test.go1
1 files changed, 1 insertions, 0 deletions
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))