diff options
Diffstat (limited to 'webapp/tests/emoticons.test.jsx')
-rw-r--r-- | webapp/tests/emoticons.test.jsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/webapp/tests/emoticons.test.jsx b/webapp/tests/emoticons.test.jsx index bf025e6b2..b6ca0512d 100644 --- a/webapp/tests/emoticons.test.jsx +++ b/webapp/tests/emoticons.test.jsx @@ -14,25 +14,25 @@ describe('Emoticons', function() { assert.equal( Emoticons.handleEmoticons(':goat: :dash:', new Map(), emojis), - 'MM_EMOTICON0 MM_EMOTICON1', + '$MM_EMOTICON0 $MM_EMOTICON1', 'should replace emoticons with tokens' ); assert.equal( Emoticons.handleEmoticons(':goat::dash:', new Map(), emojis), - 'MM_EMOTICON0MM_EMOTICON1', + '$MM_EMOTICON0$MM_EMOTICON1', 'should replace emoticons not separated by whitespace' ); assert.equal( Emoticons.handleEmoticons('/:goat:..:dash:)', new Map(), emojis), - '/MM_EMOTICON0..MM_EMOTICON1)', + '/$MM_EMOTICON0..$MM_EMOTICON1)', 'should replace emoticons separated by punctuation' ); assert.equal( Emoticons.handleEmoticons('asdf:goat:asdf:dash:asdf', new Map(), emojis), - 'asdfMM_EMOTICON0asdfMM_EMOTICON1asdf', + 'asdf$MM_EMOTICON0asdf$MM_EMOTICON1asdf', 'should replace emoticons separated by text' ); |