From daef8d83840460757222699c2d512c66e34432c1 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Tue, 28 Feb 2017 20:21:10 -0500 Subject: Added a unique prefix to text formatting entities (#5549) --- webapp/tests/emoticons.test.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'webapp/tests/emoticons.test.jsx') 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' ); -- cgit v1.2.3-1-g7c22