Skip to content

Commit

Permalink
Adjust expected value in tests (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
SmetDenis authored Oct 9, 2024
1 parent 6a766b2 commit de360d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Rules/Cell/ComboDateAgeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function testEqual(): void
isSame('', $rule->test('now'));

isSame(
'The age of the value "2020-10-02" is parsed as "3" years, ' .
'The age of the value "2020-10-02" is parsed as "4" years, ' .
'which is not equal than the expected "0 years"',
$rule->test('2020-10-02'),
);
Expand All @@ -58,7 +58,7 @@ public function testMin(): void
isSame('', $rule->test('2100-01'));

isSame(
'The age of the value "2020-10-02" is parsed as "3" years, ' .
'The age of the value "2020-10-02" is parsed as "4" years, ' .
'which is less than the expected "21 years"',
$rule->test('2020-10-02'),
);
Expand Down

0 comments on commit de360d8

Please sign in to comment.