Skip to content

Commit

Permalink
remove unnecessary properties quoting
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexsey authored and fatso83 committed Mar 8, 2018
1 parent dc895fc commit 7af0579
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/sinon/call.js
Expand Up @@ -129,7 +129,7 @@ var callProto = {
throw this.args[pos];
},

"yield": function () {
yield: function () {
return this.yieldOn.apply(this, [null].concat(slice.call(arguments, 0)));
},

Expand Down
2 changes: 1 addition & 1 deletion lib/sinon/match.js
Expand Up @@ -60,7 +60,7 @@ function matchObject(expectation, actual) {
}

var TYPE_MAP = {
"function": function (m, expectation, message) {
function: function (m, expectation, message) {
m.test = expectation;
m.message = message || "match(" + functionName(expectation) + ")";
},
Expand Down

0 comments on commit 7af0579

Please sign in to comment.