Skip to content

Commit

Permalink
Renamed 'output' to 'input' on prompt 20 last test
Browse files Browse the repository at this point in the history
  • Loading branch information
mybrainishuge committed Mar 28, 2016
1 parent 997dfd3 commit bef1b13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/part1.js
Original file line number Diff line number Diff line change
Expand Up @@ -737,10 +737,10 @@
});

it('should use recursion by calling self', function () {
var output = {'e': {'x':'y'}, 't':{'r': {'e':'r'}, 'p': {'y':'r'}},'y':'e'};
var input = {'e': {'x':'y'}, 't':{'r': {'e':'r'}, 'p': {'y':'r'}},'y':'e'};
var originalReplaceKeysInObj = replaceKeysInObj;
replaceKeysInObj = sinon.spy(replaceKeysInObj);
replaceKeysInObj(output, 'r', 'a');
replaceKeysInObj(input, 'r', 'a');
expect(replaceKeysInObj.callCount).to.be.above(1);
replaceKeysInObj = originalReplaceKeysInObj;
});
Expand Down

0 comments on commit bef1b13

Please sign in to comment.