unexpected
Advanced tools
Comparing version 10.5.0 to 10.5.1
@@ -662,2 +662,3 @@ var utils = require('./utils'); | ||
}, | ||
getKeys: Object.keys, | ||
equal: function (a, b) { | ||
@@ -664,0 +665,0 @@ return a === b || a.toString() === b.toString(); |
@@ -409,2 +409,6 @@ var createStandardErrorMessage = require('./createStandardErrorMessage'); | ||
} | ||
if (assertion.args.some(function (arg) { return typeof arg === 'string'; })) { | ||
throw new SyntaxError('Only one assertion string is supported (see #225)'); | ||
} | ||
if (assertion.args.slice(0, -1).some(hasVarargs)) { | ||
@@ -411,0 +415,0 @@ throw new SyntaxError('Only the last argument type can have varargs: ' + assertionString); |
{ | ||
"name": "unexpected", | ||
"version": "10.5.0", | ||
"version": "10.5.1", | ||
"author": "Sune Sloth Simonsen <sune@we-knowhow.dk>", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
725340
18276