File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/Machine.Specifications.Should.Specs Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -414,7 +414,8 @@ public class Dummy
414414 public int [ ] Prop1 { get ; set ; }
415415 }
416416
417- Establish context = ( ) => obj1 = new Dummy { Prop1 = new [ ] { 1 , 1 , 1 } } ;
417+ Establish context = ( ) =>
418+ obj1 = new Dummy { Prop1 = new [ ] { 1 , 1 , 1 } } ;
418419
419420 class and_the_objects_are_similar
420421 {
@@ -466,7 +467,7 @@ class and_the_objects_are_different_and_have_null_values
466467 exception . ShouldBeOfExactType < SpecificationException > ( ) ;
467468
468469 It should_contain_message = ( ) =>
469- exception . Message . ShouldEqual (
470+ exception . Message . Trim ( ) . ShouldEqual (
470471 """
471472 "Prop1":
472473 Expected: [null]
@@ -476,7 +477,7 @@ class and_the_objects_are_different_and_have_null_values
476477 [1],
477478 [1]
478479 }
479- """ ) ;
480+ """ . Trim ( ) ) ;
480481 }
481482
482483 class and_the_objects_are_different_and_the_actual_object_has_a_null_value
You can’t perform that action at this time.
0 commit comments