Skip to content

Commit

Permalink
Fix "remove" test
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Oct 9, 2016
1 parent 6355037 commit 1189b27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ describe('json-api', function () {
it('should work for ' + JSON.stringify(rfcParsed[p].tokens), function () {
pointer.remove(rfcExample, immutable(rfcParsed[p].tokens));
expect(function() {
pointer.get(pointer, rfcExample, immutable(rfcParsed[p].tokens));
pointer.get(rfcExample, immutable(rfcParsed[p].tokens));
}).to.throw(Error);
});
}
Expand Down

0 comments on commit 1189b27

Please sign in to comment.