]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
meta test: Use syntactically valid dates
authorSimon McVittie <smcv@debian.org>
Wed, 21 Mar 2018 08:59:02 +0000 (08:59 +0000)
committerSimon McVittie <smcv@debian.org>
Wed, 21 Mar 2018 09:33:04 +0000 (09:33 +0000)
I'm about to make invalid dates like 12345 be an error.

Signed-off-by: Simon McVittie <smcv@debian.org>
t/meta.t

index 63c01937f12ecfb1242a47ee682eaed81902a9b1..429fb963e613609c2825c2f9c89cac95aacc7839 100755 (executable)
--- 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(