From: Lukas Mai Date: Wed, 28 Aug 2013 17:31:53 +0000 (+0200) Subject: fix test: don't care which quotes are dumpered X-Git-Tag: v1.0202~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FFunction-Parameters.git;a=commitdiff_plain;h=13a9d4474a2eb95e4d84d546a2bcf4a976213452 fix test: don't care which quotes are dumpered --- diff --git a/t/foreign/Fun/name.t b/t/foreign/Fun/name.t index d2370cd..a9ac955 100644 --- a/t/foreign/Fun/name.t +++ b/t/foreign/Fun/name.t @@ -22,7 +22,7 @@ my $line = __LINE__; my $line_confess = $line + 6; my $line_foo = $line + 10; - ::like($@, qr/^abc 123 at $file line $line_confess\.?\n\tFoo::foo\('abc', 123\) called at $file line $line_foo/); + ::like($@, qr/^abc 123 at $file line $line_confess\.?\n\tFoo::foo\((["'])abc\1, 123\) called at $file line $line_foo/); } SKIP: { skip "Sub::Name required", 1 unless eval { require Sub::Name };