Skip to content

Commit adcc5cc

Browse files
committed
fix conflicts missed on last commit
1 parent 487aaeb commit adcc5cc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/CommandLine.Tests/Unit/Core/InstanceBuilderTests.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ public void Parse_option_with_exception_thrown_from_setter_generates_SetValueExc
994994
new[] { "-e", "bad" });
995995

996996
// 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);
998998

999999
// Teardown
10001000
}
@@ -1050,7 +1050,7 @@ public void Parse_TimeSpan()
10501050
new[] { "--duration=00:42:00" });
10511051

10521052
// Verify outcome
1053-
expectedResult.ShouldBeEquivalentTo(((Parsed<Options_With_TimeSpan>)result).Value);
1053+
expectedResult.Should().BeEquivalentTo(((Parsed<Options_With_TimeSpan>)result).Value);
10541054

10551055
// Teardown
10561056
}

tests/CommandLine.Tests/Unit/UnParserExtensionsTests.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public static void Unparsing_hidden_option_returns_command_line(Hidden_Option op
4444
{
4545
new Parser()
4646
.FormatCommandLine(options, config => config.ShowHidden = showHidden)
47-
.ShouldBeEquivalentTo(result);
47+
.Should().BeEquivalentTo(result);
4848
}
4949

5050
#if !SKIP_FSHARP
@@ -148,7 +148,7 @@ public static IEnumerable<object[]> UnParseDataImmutable
148148
}
149149
}
150150

151-
public static IEnumerable<object> UnParseDataHidden
151+
public static IEnumerable<object[]> UnParseDataHidden
152152
{
153153
get
154154
{

0 commit comments

Comments
 (0)