X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/3a640455cc44893e5da95715d1ffa9b8fd06c6bb..8cd7023c4f81254758758af3ded83069868ed6cc:/t/meta.t diff --git a/t/meta.t b/t/meta.t index 429fb963e..8602930bc 100755 --- a/t/meta.t +++ b/t/meta.t @@ -161,4 +161,16 @@ write_build_read_compare( qr{}, ); +write_build_read_compare( + 'malformed_ISO-8601', + '[[!meta date="2018-02-281T12:00:00-0500"]]', + qr{Error: cannot parse date/time: 2018-02-281T12:00:00-0500}, +); + +write_build_read_compare( + 'nonsense_month', + '[[!meta date="2018-14-22T14:22:45-0500"]]', + qr{Error: cannot parse date/time: 2018-14-22T14:22:45-0500}, +); + done_testing();