mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 09:47:48 +00:00
Ensure _.toPath returns a new array.
This commit is contained in:
@@ -22108,6 +22108,12 @@
|
||||
});
|
||||
});
|
||||
|
||||
QUnit.test('should a new path array', function(assert) {
|
||||
assert.expect(1);
|
||||
|
||||
assert.notStrictEqual(_.toPath('a.b.c'), _.toPath('a.b.c'));
|
||||
});
|
||||
|
||||
QUnit.test('should not coerce symbols to strings', function(assert) {
|
||||
assert.expect(4);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user