Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
dexamenos authored and rlanvin committed Jun 8, 2024
1 parent 7af14b7 commit 949addf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/RfcParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ public function exdateLines()
array('EXDATE;TZID=America/New_York:19970714T083000',
array(date_create('19970714T083000',new \DateTimeZone('America/New_York')))
),
array('EXDATE;TZID=W. Europe Standard Time:20230915T222222',
array(date_create('20230915T222222',new \DateTimeZone('Europe/Berlin')))
),
);
}

Expand All @@ -90,4 +93,4 @@ public function testParseExDate($string, $expected)
$dates = RfcParser::parseExDate($string);
$this->assertEquals($dates, $expected);
}
}
}

0 comments on commit 949addf

Please # to comment.