@@ -921,8 +921,8 @@ public void Failure()
921
921
Assert . IsType < EquivalentException > ( ex ) ;
922
922
Assert . Equal (
923
923
"Assert.Equivalent() Failure: Collection value not found" + Environment . NewLine +
924
- "Expected: [Foo, 16] " + Environment . NewLine +
925
- "In: [[Foo, 42] , [Bar, 2112] ]" ,
924
+ "Expected: [\" Foo\" ] = 16 " + Environment . NewLine +
925
+ "In: [[\" Foo\" ] = 42 , [\" Bar\" ] = 2112]" ,
926
926
ex . Message
927
927
) ;
928
928
}
@@ -938,8 +938,8 @@ public void Failure_EmbeddedDictionary()
938
938
Assert . IsType < EquivalentException > ( ex ) ;
939
939
Assert . Equal (
940
940
"Assert.Equivalent() Failure: Collection value not found in member 'x'" + Environment . NewLine +
941
- "Expected: [Foo, 16] " + Environment . NewLine +
942
- "In: [[Foo, 42] , [Bar, 2112] ]" ,
941
+ "Expected: [\" Foo\" ] = 16 " + Environment . NewLine +
942
+ "In: [[\" Foo\" ] = 42 , [\" Bar\" ] = 2112]" ,
943
943
ex . Message
944
944
) ;
945
945
}
@@ -976,8 +976,8 @@ public void Failure_ValueNotFoundInActual()
976
976
Assert . IsType < EquivalentException > ( ex ) ;
977
977
Assert . Equal (
978
978
"Assert.Equivalent() Failure: Collection value not found" + Environment . NewLine +
979
- "Expected: [Foo, 16] " + Environment . NewLine +
980
- "In: [[Foo, 42] , [Bar, 2112] ]" ,
979
+ "Expected: [\" Foo\" ] = 16 " + Environment . NewLine +
980
+ "In: [[\" Foo\" ] = 42 , [\" Bar\" ] = 2112]" ,
981
981
ex . Message
982
982
) ;
983
983
}
@@ -993,8 +993,8 @@ public void Failure_ExtraValueInActual()
993
993
Assert . IsType < EquivalentException > ( ex ) ;
994
994
Assert . Equal (
995
995
"Assert.Equivalent() Failure: Extra values found" + Environment . NewLine +
996
- "Expected: [[Bar, 2112] , [Foo, 42] ]" + Environment . NewLine +
997
- "Actual: [[Biff, 2600]] left over from [[Foo, 42] , [Biff, 2600] , [Bar, 2112] ]" ,
996
+ "Expected: [[\" Bar\" ] = 2112, [\" Foo\" ] = 42 ]" + Environment . NewLine +
997
+ "Actual: [[\" Biff\" ] = 2600] left over from [[\" Foo\" ] = 42 , [\" Biff\" ] = 2600, [\" Bar\" ] = 2112]" ,
998
998
ex . Message
999
999
) ;
1000
1000
}
@@ -1010,8 +1010,8 @@ public void Failure_EmbeddedDictionary_ValueNotFoundInActual()
1010
1010
Assert . IsType < EquivalentException > ( ex ) ;
1011
1011
Assert . Equal (
1012
1012
"Assert.Equivalent() Failure: Collection value not found in member 'x'" + Environment . NewLine +
1013
- "Expected: [Foo, 16] " + Environment . NewLine +
1014
- "In: [[Foo, 42] , [Bar, 2112] ]" ,
1013
+ "Expected: [\" Foo\" ] = 16 " + Environment . NewLine +
1014
+ "In: [[\" Foo\" ] = 42 , [\" Bar\" ] = 2112]" ,
1015
1015
ex . Message
1016
1016
) ;
1017
1017
}
@@ -1027,8 +1027,8 @@ public void Failure_EmbeddedDictionary_ExtraValueInActual()
1027
1027
Assert . IsType < EquivalentException > ( ex ) ;
1028
1028
Assert . Equal (
1029
1029
"Assert.Equivalent() Failure: Extra values found in member 'x'" + Environment . NewLine +
1030
- "Expected: [[Bar, 2112] , [Foo, 42] ]" + Environment . NewLine +
1031
- "Actual: [[Biff, 2600]] left over from [[Foo, 42] , [Biff, 2600] , [Bar, 2112] ]" ,
1030
+ "Expected: [[\" Bar\" ] = 2112, [\" Foo\" ] = 42 ]" + Environment . NewLine +
1031
+ "Actual: [[\" Biff\" ] = 2600] left over from [[\" Foo\" ] = 42 , [\" Biff\" ] = 2600, [\" Bar\" ] = 2112]" ,
1032
1032
ex . Message
1033
1033
) ;
1034
1034
}
0 commit comments