Open DarkLite1 opened 7 years ago
The problem appears to be here:
function FindMismatchedValueOrdered($value, $expectedMatch) {
$value = @($value)
for ($i = 0; $i -lt $expectedMatch.Length -and $i -lt $value.Length; $i++) {
if (-not($value[$i] -eq $expectedMatch[$i])) {
return "Differs at index $i. Expected: {$expectedMatch}. Actual: {$value}."
}
It's not designed to inspect the property values and names of objects. Could this be added?
Thank you for the great add-on to
Pester
. I would like to use your module but for some reason or another it's saying that the following arrays are not equal:It throws the following error:
Thank you for your help.