Skip to content

Commit 1b3f0b5

Browse files
nohwndfflaten
andauthored
Update src/functions/assert/Equivalence/Should-BeEquivalent.ps1
Co-authored-by: Frode Flaten <[email protected]>
1 parent a18e746 commit 1b3f0b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/functions/assert/Equivalence/Should-BeEquivalent.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ function Compare-Equivalent {
609609
return
610610
}
611611

612-
v "`$Expected is an object of type $$Expected.GetType(), we will be comparing `$Actual to objects."
612+
v "`$Expected is an object of type $(Format-Nicely2 $Expected.GetType()), we will be comparing `$Actual to objects."
613613
Compare-ObjectEquivalent -Expected $Expected -Actual $Actual -Property $Path -Options $Options
614614
}
615615

0 commit comments

Comments
 (0)