File: Config-Std-0.901-RT114342.patch

package info (click to toggle)
libconfig-std-perl 0.901-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 196 kB
  • ctags: 33
  • sloc: perl: 377; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 742 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From fd94bb2480be926b6dc2c4a820a8443505a4a89a Mon Sep 17 00:00:00 2001
From: Slaven Rezic <slaven@rezic.de>
Date: Fri, 10 Jun 2016 23:54:33 +0200
Subject: [PATCH] fix "Unescaped left brace in regex is illegal in regex" (RT
 #114342)

---
 t/undef.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/undef.t b/t/undef.t
index 423cd62..7735101 100644
--- a/t/undef.t
+++ b/t/undef.t
@@ -16,5 +16,5 @@ my $output;
 
 ok !eval{ write_config %data => \$output }    => 'Write failed as expected';
 
-like $@, qr/\ACan't save undefined value for key {'FOO'}{'foo2'}/
+like $@, qr/\A\QCan't save undefined value for key {'FOO'}{'foo2'}/
                                             => 'Failed with expected exception';
-- 
2.1.4