Skip to content

Commit

Permalink
Merge pull request kolodny#4 from marthaberner/update-tests
Browse files Browse the repository at this point in the history
Update tests 3 and 4, closes kolodny#8
  • Loading branch information
kolodny committed Jun 14, 2015
2 parents 2c34d93 + 6384f70 commit 02f509a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions throttle/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe('throttle', function() {
throttled.call(11);
throttled.call(22);
setTimeout(function() {
assert.equal(ctx, 22);
assert.equal(ctx, 11);
done();
}, 15)
});
Expand All @@ -51,7 +51,7 @@ describe('throttle', function() {
throttled(11, 22, 33);
throttled(22, 33, 44);
setTimeout(function() {
assert.deepEqual(args, [22, 33, 44]);
assert.deepEqual(args, [11, 22, 33]);
done();
}, 15);
});
Expand Down

0 comments on commit 02f509a

Please sign in to comment.