Skip to content

Commit

Permalink
Update ConversionExtensionsTests.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
guibranco authored Sep 24, 2023
1 parent b423db3 commit f598e3c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public void ValidateInvalidStringToDateTime(string input)
var result = Assert.Throws<ArgumentOutOfRangeException>(() => input.ToDateTime());

Assert.Equal(
$"Unable to parse the string to a valid datetime (Parameter 'input')\r\nActual value was {input}.",
$"Unable to parse the string to a valid datetime (Parameter 'input'){Environment.NewLine}Actual value was {input}.",
result.Message
);
}
Expand Down

0 comments on commit f598e3c

Please sign in to comment.