Skip to content

Commit

Permalink
Corrected the evaluation for the establishment year (expression was r…
Browse files Browse the repository at this point in the history
…eversed).

Signed-off-by: Sacha Telgenhof <[email protected]>
  • Loading branch information
stelgenhof committed May 25, 2021
1 parent f17270d commit d2f5b32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function testOfficialHolidays(): void
'civicHoliday',
];

if (1996 >= $this->year) {
if (1996 <= $this->year) {
$holidays[] = 'nationalIndigenousPeoplesDay';
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Canada/Yukon/YukonTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function testOfficialHolidays(): void
$holidays[] = 'yukonHeritageDay';
}

if (1996 >= $this->year) {
if (1996 <= $this->year) {
$holidays[] = 'nationalIndigenousPeoplesDay';
}

Expand Down

0 comments on commit d2f5b32

Please sign in to comment.