unexpected
Advanced tools
Comparing version 10.37.6 to 10.37.7
@@ -311,6 +311,6 @@ var _toConsumableArray2 = require('babel-runtime/helpers/toConsumableArray'); | ||
if (conflicting) { | ||
if (!(key in expected)) { | ||
if (!type.hasKey(expected, key)) { | ||
annotation.error('should be removed'); | ||
isInlineDiff = true; | ||
} else if (!(key in actual)) { | ||
} else if (!type.hasKey(actual, key)) { | ||
this.error('// missing').sp(); | ||
@@ -317,0 +317,0 @@ valueOutput = output.clone().appendInspected(valueExpected); |
@@ -351,6 +351,6 @@ const utils = require('./utils'); | ||
if (conflicting) { | ||
if (!(key in expected)) { | ||
if (!type.hasKey(expected, key)) { | ||
annotation.error('should be removed'); | ||
isInlineDiff = true; | ||
} else if (!(key in actual)) { | ||
} else if (!type.hasKey(actual, key)) { | ||
this.error('// missing').sp(); | ||
@@ -357,0 +357,0 @@ valueOutput = output.clone().appendInspected(valueExpected); |
{ | ||
"name": "unexpected", | ||
"version": "10.37.6", | ||
"version": "10.37.7", | ||
"author": "Sune Sloth Simonsen <sune@we-knowhow.dk>", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
13882
1696315