Skip to content

Commit

Permalink
Single quotes on strings
Browse files Browse the repository at this point in the history
  • Loading branch information
GCHQDeveloper500 committed Dec 11, 2017
1 parent e870a64 commit 5e131b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/sinon/spy.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function spy(object, property, types) {
return spy.create(function () { });
}

if (!types) {
if (!types) {
return wrapMethod(object, property, spy.create(object[property]));
}

Expand Down Expand Up @@ -414,7 +414,7 @@ function delegateToCalls(method, matchAny, actual, notCalled) {
};
}

spyApi.reset = deprecated.wrap(spyApi.resetHistory, deprecated.defaultMsg('reset'));
spyApi.reset = deprecated.wrap(spyApi.resetHistory, deprecated.defaultMsg("reset"));

delegateToCalls("calledOn", true);
delegateToCalls("alwaysCalledOn", false, "calledOn");
Expand Down

0 comments on commit 5e131b3

Please sign in to comment.