mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 03:17:49 +00:00
Tweak to _.bind unit test for Narwhal.
Former-commit-id: 5df60a9d1e46b09253151ab39281c5af0c48544f
This commit is contained in:
@@ -145,7 +145,7 @@
|
|||||||
(function() {
|
(function() {
|
||||||
test('should correctly append array arguments to partially applied arguments (test in IE < 9)', function() {
|
test('should correctly append array arguments to partially applied arguments (test in IE < 9)', function() {
|
||||||
var args,
|
var args,
|
||||||
bound = _.bind(function() { args = slice.call(arguments); }, null, 'a');
|
bound = _.bind(function() { args = slice.call(arguments); }, {}, 'a');
|
||||||
|
|
||||||
bound(['b'], 'c');
|
bound(['b'], 'c');
|
||||||
deepEqual(args, ['a', ['b'], 'c']);
|
deepEqual(args, ['a', ['b'], 'c']);
|
||||||
|
|||||||
Reference in New Issue
Block a user