File tree 2 files changed +4
-4
lines changed
tests/CommandLine.Tests/Unit
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -994,7 +994,7 @@ public void Parse_option_with_exception_thrown_from_setter_generates_SetValueExc
994
994
new [ ] { "-e" , "bad" } ) ;
995
995
996
996
// Verify outcome
997
- ( ( NotParsed < Options_With_Property_Throwing_Exception > ) result ) . Errors . ShouldBeEquivalentTo ( expectedResult ) ;
997
+ ( ( NotParsed < Options_With_Property_Throwing_Exception > ) result ) . Errors . Should ( ) . BeEquivalentTo ( expectedResult ) ;
998
998
999
999
// Teardown
1000
1000
}
@@ -1050,7 +1050,7 @@ public void Parse_TimeSpan()
1050
1050
new [ ] { "--duration=00:42:00" } ) ;
1051
1051
1052
1052
// Verify outcome
1053
- expectedResult . ShouldBeEquivalentTo ( ( ( Parsed < Options_With_TimeSpan > ) result ) . Value ) ;
1053
+ expectedResult . Should ( ) . BeEquivalentTo ( ( ( Parsed < Options_With_TimeSpan > ) result ) . Value ) ;
1054
1054
1055
1055
// Teardown
1056
1056
}
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public static void Unparsing_hidden_option_returns_command_line(Hidden_Option op
44
44
{
45
45
new Parser ( )
46
46
. FormatCommandLine ( options , config => config . ShowHidden = showHidden )
47
- . ShouldBeEquivalentTo ( result ) ;
47
+ . Should ( ) . BeEquivalentTo ( result ) ;
48
48
}
49
49
50
50
#if ! SKIP_FSHARP
@@ -148,7 +148,7 @@ public static IEnumerable<object[]> UnParseDataImmutable
148
148
}
149
149
}
150
150
151
- public static IEnumerable < object > UnParseDataHidden
151
+ public static IEnumerable < object [ ] > UnParseDataHidden
152
152
{
153
153
get
154
154
{
You can’t perform that action at this time.
0 commit comments