Add Emoji test case

See #2246
This commit is contained in:
Bjørn Erik Pedersen 2016-07-01 15:12:36 +02:00
parent 7e08d23eeb
commit aa66478c20

View file

@ -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))