We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This passes:
it('should not split 🇩🇪', function() { var wrapped = _('a🇩🇪b'); assert.strictEqual(wrapped.split('').join(','), 'a,🇩🇪,b'); });
This doesn't:
it('should not split 🏴', function() { var wrapped = _('a🏴b'); assert.strictEqual(wrapped.split('').join(','), 'a,🏴,b'); });
1 failing 1) split should not split 🏴: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'a,🏴,,,,,,,b' - 'a,🏴,b' ^ + expected - actual -a,🏴,,,,,,,b +a,🏴,b
Downstream issue: element-hq/element-web#22196
The text was updated successfully, but these errors were encountered:
@justjanne that just isn't true for empty delimiter and unicode input.
https://github.com/lodash/lodash/blob/master/split.js#L35-L37 calls https://github.com/lodash/lodash/blob/master/.internal/unicodeToArray.js?rgh-link-date=2023-05-24T09%3A46%3A14Z#L39 to do the actual splitting
Sorry, something went wrong.
@jdalton can you link to what fixed this issue? What version is it fixed it? Are there regression tests?
@t3chguy Issue bankruptcy. Working on v5 with fresh eyes after a few years.
No branches or pull requests
This passes:
This doesn't:
Downstream issue: element-hq/element-web#22196
The text was updated successfully, but these errors were encountered: