summaryrefslogtreecommitdiff
path: root/lib/overload.t
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2011-10-30 16:12:02 +0000
committerDavid Mitchell <davem@iabyn.com>2012-06-13 13:25:48 +0100
commit8005796e5264eb0df85cf3c0e4517ca3d769650f (patch)
tree06ca6490cb515ba51ef62d6e838c3cb24beb45fa /lib/overload.t
parent525ef3318377af74a8bc34655479e0602a0855cf (diff)
downloadperl-8005796e5264eb0df85cf3c0e4517ca3d769650f.tar.gz
Revert 4 regex commits to ease rebasing
Revert "Remove some repeated code in pp_regcomp" This reverts commit 3e1022372a8200bc4c7354e0f588c7f71584a888. Revert "regcomp.c: Use no_mg for 2nd fetch of pattern" This reverts commit 3e0b93e82af0f1a033bcdb918b413113f1d61cf0. ` Revert "PATCH: [perl #101940]: BBC Tk" This reverts commit 11951bcbfcaf4c260b0da0421e72fc80b4654f17. Revert "Fix =~ $str_overloaded (5.10 regression)" This reverts commit 15d9c083b08647e489d279a1059b4f14a3df187b. These four recent commits on the blead branch overlap with work on the re_eval branch. To make rebasing re_eval easier, revert them at the beginning of the re_eval branch. Any remaining value will be re-added later in the re_eval branch.
Diffstat (limited to 'lib/overload.t')
-rw-r--r--lib/overload.t4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/overload.t b/lib/overload.t
index 5d6e38d382..4be12603d6 100644
--- a/lib/overload.t
+++ b/lib/overload.t
@@ -48,7 +48,7 @@ package main;
$| = 1;
BEGIN { require './test.pl' }
-plan tests => 5037;
+plan tests => 4983;
use Scalar::Util qw(tainted);
@@ -1793,8 +1793,6 @@ foreach my $op (qw(<=> == != < <= > >=)) {
# note: this is testing unary qr, not binary =~
$subs{qr} = '(qr/%s/)';
push @tests, [ "abc", '"abc" =~ (%s)', '(qr)', '("")', [ 1, 2, 0 ], 0 ];
- push @tests, [ chr 256, 'chr(256) =~ (%s)', '(qr)', '("")',
- [ 1, 2, 0 ], 0 ];
$e = '"abc" ~~ (%s)';
$subs{'~~'} = $e;