Add test for combining enclosing circle backslash.

This commit is contained in:
John-David Dalton
2016-04-18 22:03:56 -07:00
parent 6e8c984250
commit af41f9267a

View File

@@ -23456,13 +23456,14 @@
comboGlyph = '\ud83d\udc68\u200d' + heart + '\u200d\ud83d\udc8B\u200d\ud83d\udc68',
hashKeycap = '#' + emojiVar + '\u20e3',
leafs = '\ud83c\udf42',
noMic = '\ud83c\udf99\u20e0',
mic = '\ud83c\udf99',
noMic = mic + '\u20e0',
raisedHand = '\u270B' + emojiVar,
rocket = '\ud83d\ude80',
thumbsUp = '\ud83d\udc4d';
QUnit.test('should account for astral symbols', function(assert) {
assert.expect(33);
assert.expect(34);
var allHearts = _.repeat(hearts, 10),
chars = hearts + comboGlyph,
@@ -23504,6 +23505,7 @@
assert.deepEqual(_.words(string), ['A', leafs, comboGlyph, 'and', rocket]);
assert.deepEqual(_.toArray(hashKeycap), [hashKeycap]);
assert.deepEqual(_.toArray(noMic), [noMic]);
lodashStable.times(2, function(index) {
var separator = index ? RegExp(hearts) : hearts,