diff options
author | Simon McVittie <smcv@debian.org> | 2018-03-21 08:59:02 +0000 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2018-03-21 09:33:04 +0000 |
commit | 3a640455cc44893e5da95715d1ffa9b8fd06c6bb (patch) | |
tree | 2ac307267ce46070ea9477d7404217b49ac8dbf5 /t | |
parent | f2b248cdfd2515dbc8556e26442da6a0ac08e911 (diff) | |
download | ikiwiki-3a640455cc44893e5da95715d1ffa9b8fd06c6bb.tar ikiwiki-3a640455cc44893e5da95715d1ffa9b8fd06c6bb.tar.gz |
meta test: Use syntactically valid dates
I'm about to make invalid dates like 12345 be an error.
Signed-off-by: Simon McVittie <smcv@debian.org>
Diffstat (limited to 't')
-rwxr-xr-x | t/meta.t | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -85,14 +85,14 @@ write_build_read_compare( write_build_read_compare( 'date', - q{[[!meta date="12345"]]}, - qr{<meta name="date" content="12345" />}, + q{[[!meta date="2000-01-23"]]}, + qr{<meta name="date" content="2000-01-23" />}, ); write_build_read_compare( 'updated', - q{[[!meta updated="12345"]]}, - qr{<meta name="updated" content="12345" />}, + q{[[!meta updated="2018-03-21"]]}, + qr{<meta name="updated" content="2018-03-21" />}, ); #write_build_read_compare( |