aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2018-03-21 08:59:02 +0000
committerSimon McVittie <smcv@debian.org>2018-03-21 09:33:04 +0000
commit3a640455cc44893e5da95715d1ffa9b8fd06c6bb (patch)
tree2ac307267ce46070ea9477d7404217b49ac8dbf5
parentf2b248cdfd2515dbc8556e26442da6a0ac08e911 (diff)
downloadikiwiki-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>
-rwxr-xr-xt/meta.t8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/meta.t b/t/meta.t
index 63c01937f..429fb963e 100755
--- a/t/meta.t
+++ b/t/meta.t
@@ -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(