Re: the remaining bugs in \x escapes (was Re: [PATCH] oct and hex in glorious 64...
[p5sagit/p5-mst-13.2.git] / t / op / tr.t
index 5c75b60..6390f6a 100755 (executable)
--- a/t/op/tr.t
+++ b/t/op/tr.t
@@ -43,7 +43,7 @@ print "ok 3\n";
 (my $y = 12) =~ tr/1/3/;
 ($f = 1.5) =~ tr/1/3/;
 (my $g = 1.5) =~ tr/1/3/;
-print "not " unless $x + $y + $f + $g > 70.9;
+print "not " unless $x + $y + $f + $g == 71;
 print "ok 5\n";
 
 # make sure tr is harmless if not updating  -  see [ID 20000511.005]
@@ -80,9 +80,6 @@ else {
 print "ok 10\n";
 
 {
-if (ord("\t") == 9) { # ASCII
-    use utf8;
-}
 # 11 - changing UTF8 characters in a UTF8 string, same length.
 my $l = chr(300); my $r = chr(400);
 $x = 200.300.400;