diff options
author | Nicholas Clark <nick@ccl4.org> | 2013-09-04 14:55:00 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2013-09-10 10:48:23 +0200 |
commit | fb1c5e878bf0315522026933566ec8a1a5ccdff8 (patch) | |
tree | b5a74fa4fadedb3f024eea40ece1c0f198d14f47 /plan9 | |
parent | 33826e50f1fadeb78079f923096ae96ea6101883 (diff) | |
download | perl-fb1c5e878bf0315522026933566ec8a1a5ccdff8.tar.gz |
Fix Devel::Peek's tests when building with -DPERL_NO_COW
One test had a pattern with a (?:...)? construction split across two lines,
specifically enclosing the newline at the end of a line, and the line that
followed.
When perl is built with -DPERL_NO_COW or -DPERL_OLD_COPY_ON_WRITE the test's
do_test() driver routine would remove the second line, which included the
closing ')?', leaving a an invalid regex. The solution is to remove the
(?: )? completely, as the driver routine's line removal has the same intent
as the (?: )? construction.
Diffstat (limited to 'plan9')
0 files changed, 0 insertions, 0 deletions