DateDiffGreaterThanAssert
is throwing violations when it shouldn't
#163
Labels
bug
Something isn't working
Example where we assert that a date 13 years and 2 days ago is older than 13 years ago:
Expected result:
true
Actual result:
// Violation (DateDiffGreaterThan)
This seems to be because this diff is being calculated at the unit's granularity (years, in this example), so 13 years and 2 days ago is rounded to 13 years ago, which is equal, not greater than the assert date.
The text was updated successfully, but these errors were encountered: