Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

skipSet test was passing after all

  • Loading branch information...
commit 7a47b58fe09c4277cae0afb04588fedab67740bc 1 parent 2899c9f
@substack authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/scrub.js
View
6 test/scrub.js
@@ -119,13 +119,13 @@ exports.skipSet = function () {
var s = new Scrubber;
var req = {
method : 0,
- arguments : [ 33, '[Function]' ],
+ arguments : [ { x : 33 }, '[Function]' ],
callbacks : { 0 : [ '1' ] },
- links : [ { from : [ '0' ], to : [ '2' ] } ]
+ links : [ { from : [ '0', 'x' ], to : [ '2' ] } ]
};
var args = s.unscrub(req, function (id) {
return function () {};
});
- assert.equal(args[1], 33);
+ assert.equal(args[2], 33);
};
Please sign in to comment.
Something went wrong with that request. Please try again.