summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-02-26 10:43:59 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-02-26 10:43:59 +0100
commit0c140f0c79d62a426838097cf3fc09da2f3f89a3 (patch)
treeb2d7f3a277292acdfb67285c6ec9e4d9c4686fa3 /t
parentbd7537b677d46f70a2446fcc00d9834d19a68b6b (diff)
Slightly improve date handling
Diffstat (limited to 't')
-rw-r--r--t/50-www-efa.t4
-rw-r--r--t/60-bin-efa.t2
2 files changed, 3 insertions, 3 deletions
diff --git a/t/50-www-efa.t b/t/50-www-efa.t
index c3d1c31..8144026 100644
--- a/t/50-www-efa.t
+++ b/t/50-www-efa.t
@@ -153,12 +153,12 @@ is_efa_post(
is_efa_err(
'date', '42.5.2003',
- 'Must match DD.MM.[YYYY]'
+ 'Invalid day',
);
is_efa_err(
'date', '7.',
- 'Must match DD.MM.[YYYY]'
+ 'Invalid month',
);
is_efa_post(
diff --git a/t/60-bin-efa.t b/t/60-bin-efa.t
index 0ae0b1f..4e46766 100644
--- a/t/60-bin-efa.t
+++ b/t/60-bin-efa.t
@@ -120,7 +120,7 @@ for my $opt (qw/-d --date/) {
$cmd->exit_isnt_num(0);
$cmd->stdout_is_eq($EMPTY);
$cmd->stderr_is_eq(
- mk_err('date', '11.23.2010', 'Must match DD.MM.[YYYY]')
+ mk_err('date', '11.23.2010', 'Invalid month')
);
}