diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-02-26 10:43:59 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-02-26 10:43:59 +0100 |
commit | 0c140f0c79d62a426838097cf3fc09da2f3f89a3 (patch) | |
tree | b2d7f3a277292acdfb67285c6ec9e4d9c4686fa3 /t | |
parent | bd7537b677d46f70a2446fcc00d9834d19a68b6b (diff) |
Slightly improve date handling
Diffstat (limited to 't')
-rw-r--r-- | t/50-www-efa.t | 4 | ||||
-rw-r--r-- | t/60-bin-efa.t | 2 |
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') ); } |