Skip to content

Commit

Permalink
fix date dependent unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Willich committed Jan 8, 2020
1 parent 4325780 commit 6469129
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ public void Returns_false_when_the_string_and_values_match_for_different_dates()
public void Returns_false_when_the_expected_value_is_not_a_valid_datetime()
{
var comparer = new DateTimeValueComparer();
comparer.Compare("x", new DateTime(2020, 1, 1))
comparer.Compare("x", new DateTime(1990, 1, 1))
.Should().BeFalse();
comparer.Compare("January1", new DateTime(2020, 1, 1))
comparer.Compare("January1", new DateTime(1990, 1, 1))
.Should().BeFalse();
}

Expand Down

0 comments on commit 6469129

Please sign in to comment.