mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 16:17:50 +00:00
Add test for combining enclosing circle backslash.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user