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>
master
Simon McVittie 2018-03-21 08:59:02 +00:00
parent f2b248cdfd
commit 3a640455cc
1 changed files with 4 additions and 4 deletions

View File

@ -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(