summaryrefslogtreecommitdiff
path: root/t/op/tr.t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-04-05 04:00:33 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-04-05 04:00:33 +0000
commit76ef7183b725f0ef3e642f805cb4d676a5263201 (patch)
tree1dd6d61f98fbe5ec186c90c73b7538fefca6a18e /t/op/tr.t
parent8fbdfb7c7395370f456296bb6b83997100178b7a (diff)
parentae79846703a543a04b4fe449abfd6b1e08a9e149 (diff)
downloadperl-76ef7183b725f0ef3e642f805cb4d676a5263201.tar.gz
Integrate changes #9544,9547,9549(perlio),9550,9551 from
maintperl into mainline. "double" should be "NV"; standard typemap is missing entry for NV s/djSP/dSP/ Downgrade "Wide character in print" to a warning. B::Deparse fix for ${^FOO} and documentation for PVX() method (from Robin Houston) tr/// doesn't null-terminate the result in some situations (from Gisle Aas) p4raw-link: @9549 on //depot/perlio: ae79846703a543a04b4fe449abfd6b1e08a9e149 p4raw-link: @9547 on //depot/maint-5.6/perl: 5976aebc9f997fdf4f4889f497e528a90c8a7dc3 p4raw-link: @9544 on //depot/maint-5.6/perl: 405f61b82790e3c0b3cb02962f34aa8522c5a18e p4raw-id: //depot/perl@9553 p4raw-integrated: from //depot/maint-5.6/perl@9552 'copy in' ext/B/B/C.pm (@9235..) 'merge in' lib/ExtUtils/typemap (@8151..) ext/Thread/Thread.xs (@8606..) t/op/tr.t (@9152..) doop.c (@9288..) ext/B/B.pm ext/B/B/Deparse.pm (@9548..) p4raw-integrated: from //depot/maint-5.6/perl@9544 'merge in' ext/B/B.xs (@8621..)
Diffstat (limited to 't/op/tr.t')
-rwxr-xr-xt/op/tr.t8
1 files changed, 7 insertions, 1 deletions
diff --git a/t/op/tr.t b/t/op/tr.t
index c7b446196c..90b03706e2 100755
--- a/t/op/tr.t
+++ b/t/op/tr.t
@@ -5,7 +5,7 @@ BEGIN {
@INC = '../lib';
}
-print "1..66\n";
+print "1..67\n";
$_ = "abcdefghijklmnopqrstuvwxyz";
@@ -370,3 +370,9 @@ print "ok 65\n";
$a = "\xfe\xff"; $a =~ tr/\xfe\xff/\x{1ff}\x{1fe}/;
print "not " unless $a eq "\x{1ff}\x{1fe}";
print "ok 66\n";
+
+# From David Dyck
+($a = "R0_001") =~ tr/R_//d;
+print "not " if hex($a) != 1;
+print "ok 67\n";
+