From 84763cab261dd6dc9e3a264b9eea2ef4987395be Mon Sep 17 00:00:00 2001 From: Beau Gunderson Date: Thu, 14 Jan 2016 12:38:26 -0800 Subject: [PATCH] Add failing test for Fitzpatrick modifiers. --- test/test.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/test.js b/test/test.js index da0cb2776..b5da634e6 100644 --- a/test/test.js +++ b/test/test.js @@ -21228,10 +21228,12 @@ rocket = '\ud83d\ude80', thumbsUp = '\ud83d\udc4d', comboGlyph = '\ud83d\udc68\u200d' + heart + '\u200d\ud83d\udc8B\u200d\ud83d\udc68', - keycapHash = '#' + emojiVar + '\u20e3'; + keycapHash = '#' + emojiVar + '\u20e3', + oneFitzpatrick = '\ud83c\udfff', + twoFitzpatrick = oneFitzpatrick + oneFitzpatrick; QUnit.test('should account for astral symbols', function(assert) { - assert.expect(26); + assert.expect(27); var allHearts = _.repeat(hearts, 10), chars = hearts + comboGlyph, @@ -21265,6 +21267,8 @@ assert.deepEqual(_.toArray(keycapHash), [keycapHash]); + assert.deepEqual(_.toArray(twoFitzpatrick), [oneFitzpatrick, oneFitzpatrick]); + lodashStable.times(2, function(index) { var separator = index ? RegExp(hearts) : hearts, options = { 'length': 4, 'separator': separator },