unexpected
Advanced tools
Comparing version 3.2.2 to 3.2.3
@@ -20,3 +20,7 @@ /*global namespace*/ | ||
expect.addAssertion('[not] to be', function (expect, subject, value) { | ||
expect(subject === value, '[not] to be truthy'); | ||
if (typeof subject === 'string' && typeof value === 'string') { | ||
expect(subject, '[not] to equal', value); | ||
} else { | ||
expect(subject === value, '[not] to be truthy'); | ||
} | ||
}); | ||
@@ -23,0 +27,0 @@ |
{ | ||
"name": "unexpected", | ||
"version": "3.2.2", | ||
"version": "3.2.3", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
326217
6625