X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fop%2Ftr.t;h=6390f6a9e5950c22078c88acfadb400e8be20a6b;hb=a4c04bdcc508b6a45f83e703d0f82401445aa55b;hp=5c75b6023c6802a992283f55fa7f6f055839226a;hpb=58a9a5d5decdad14b14ae7eccc5dfaa8de6eddd9;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/op/tr.t b/t/op/tr.t index 5c75b60..6390f6a 100755 --- 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;