[Rt-commit] rt branch, 4.2-trunk, updated. rt-4.2.8-21-gd34aaa4
Alex Vandiver
alexmv at bestpractical.com
Thu Oct 16 14:14:58 EDT 2014
The branch, 4.2-trunk has been updated
via d34aaa49dc860201df93c24f3dd607ce3584bf4d (commit)
from a447367f94730013b528fe19a83494fdd2f37de9 (commit)
Summary of changes:
t/web/cf_date.t | 2 +-
t/web/cf_datetime.t | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit d34aaa49dc860201df93c24f3dd607ce3584bf4d
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Thu Oct 16 14:09:51 2014 -0400
When @warnings contains more than one element, compare correctly
diff --git a/t/web/cf_date.t b/t/web/cf_date.t
index a06a428..e26d0c5 100644
--- a/t/web/cf_date.t
+++ b/t/web/cf_date.t
@@ -186,7 +186,7 @@ diag 'check invalid inputs';
my @warnings = $m->get_warnings;
chomp @warnings;
- is_deeply( @warnings, q{Couldn't parse date 'foodate' by Time::ParseDate} );
+ is_deeply( [@warnings], [q{Couldn't parse date 'foodate' by Time::ParseDate}] );
}
diag 'retain values when adding attachments';
diff --git a/t/web/cf_datetime.t b/t/web/cf_datetime.t
index 24c042e..89e347b 100644
--- a/t/web/cf_datetime.t
+++ b/t/web/cf_datetime.t
@@ -212,7 +212,7 @@ diag 'check invalid inputs';
my @warnings = $m->get_warnings;
chomp @warnings;
- is_deeply( @warnings, q{Couldn't parse date 'foodate' by Time::ParseDate} );
+ is_deeply( [@warnings], [q{Couldn't parse date 'foodate' by Time::ParseDate}] );
}
diag 'retain values when adding attachments';
-----------------------------------------------------------------------
More information about the rt-commit
mailing list