Permalink
Browse files

Work around broken Test::Output 0.16_03 that Andreas is smoking with.

This will greatly reduce our CPAN test failures.
  • Loading branch information...
1 parent c6616c9 commit 2824280de7c4fdcb4df1e56bb5239bd60ce32239 @schwern schwern committed Mar 24, 2011
Showing with 6 additions and 2 deletions.
  1. +4 −0 Changes
  2. +2 −2 t/time_compat.t
View
@@ -3,6 +3,10 @@
* methods() can handle modules like Fcntl with weird things in their
symbol tables. [github 184]
+ Test Fixes
+ * Work around broken Test::Output 0.16_03 alpha that CPAN testers
+ are using. See https://rt.cpan.org/Ticket/Display.html?id=66172
+
2.6.0 Thu, 24 Feb 2011 11:23:25 +1100
New Features
View
@@ -103,6 +103,6 @@ my $now = time();
my $time = int rand 2**31;
my $date = gmtime($time);
- stdout_like { gmtime($time)->say; } qr/^\Q$date\E$/;
- stdout_is { gmtime($time)->print; } "$date";
+ stdout_like { gmtime($time)->say; } qr{^\Q$date\E$};
+ stdout_like { gmtime($time)->print; } qr{^\Q$date\E$};
}

0 comments on commit 2824280

Please sign in to comment.