Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Eliminated "Unescaped left brace in regex is deprecated" warnings.

commit fbe542f6739749ae632fda0f7d9792e27d429450 1 parent ea2a8ac
@theory authored
Showing with 6 additions and 4 deletions.
  1. +2 −0  Changes
  2. +2 −2 t/filter.t
  3. +1 −1  t/html.t
  4. +1 −1  t/htmlcolordiff.t
View
2  Changes
@@ -2,6 +2,8 @@ Revision history for Perl extension SVN::Notify
2.85
- Fixed a typo, thanks to gregor herrmann of the Debian project.
+ - Eliminated "Unescaped left brace in regex is deprecated" warnings on
+ Perl 5.21.
2.84 2013-08-13T14:25:21Z
- Added `--smtp-tls` to the output of `man svnnotify`.
View
4 t/filter.t
@@ -352,7 +352,7 @@ SKIP: {
ok $notifier->prepare, 'Prepare log_message filter checking';
ok $notifier->execute, 'Notify log_mesage filter checking';
$email = get_output();
- like $email, qr/^#patch { width: 90%; }/m, 'Should have modified the CSS';
+ like $email, qr/^#patch \{ width: 90%; \}/m, 'Should have modified the CSS';
##########################################################################
# Try a CSS filter with ColofDiff.
@@ -368,7 +368,7 @@ SKIP: {
ok $notifier->prepare, 'Prepare log_message filter checking';
ok $notifier->execute, 'Notify log_mesage filter checking';
$email = get_output();
- like $email, qr/^#patch .lines, .info {color:#999;background:#fff;}/m,
+ like $email, qr/^#patch .lines, .info \{color:#999;background:#fff;\}/m,
'Should have modified the CSS';
}
View
2  t/html.t
@@ -82,7 +82,7 @@ like( $email, qr|<meta http-equiv="content-type" content="text/html; charset=utf
'There should be a meta http-equiv tag');
like( $email, qr/<\/style>/, "Check for </style> tag" );
like( $email,
- qr/#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }/,
+ qr/#msg dl.meta \{ border: 1px #006 solid; background: #369; padding: 6px; color: #fff; \}/,
"Check for style" );
like( $email, qr/<div id="msg">/, "Check for msg div" );
View
2  t/htmlcolordiff.t
@@ -68,7 +68,7 @@ for my $tag (qw(html head body dl)) {
like( $email, qr|<style type="text/css">|, "Check for <style> tag" );
like( $email, qr/<\/style>/, "Check for </style> tag" );
like( $email,
- qr/#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}/,
+ qr/#patch ins \{background:#dfd;text-decoration:none;display:block;padding:0 10px;\}/,
'Check for style' );
like( $email, qr/<div id="msg">/, "Check for msg div" );
Please sign in to comment.
Something went wrong with that request. Please try again.