summaryrefslogtreecommitdiff
path: root/t/op/tr.t
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-12-04 06:06:49 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-12-04 06:06:49 +0000
commit5e03713652a5a31e165226d9e78b9e3ea09b0a1d (patch)
treeb7315179a21d3bf7406d8260e6804bf92156f6e2 /t/op/tr.t
parent379c5dcc2964f5ce6d1fea34580b612a7f9ebc2d (diff)
downloadperl-5e03713652a5a31e165226d9e78b9e3ea09b0a1d.tar.gz
tweak test for UTEST
p4raw-id: //depot/perl@2448
Diffstat (limited to 't/op/tr.t')
-rwxr-xr-xt/op/tr.t13
1 files changed, 7 insertions, 6 deletions
diff --git a/t/op/tr.t b/t/op/tr.t
index 3503c3cf12..486b4515d5 100755
--- a/t/op/tr.t
+++ b/t/op/tr.t
@@ -22,12 +22,13 @@ print "ok 3\n";
# In EBCDIC 'I' is \xc9 and 'J' is \0xd1, 'i' is \x89 and 'j' is \x91.
# Yes, discontinuities. Regardless, the \xca in the below should stay
# untouched (and not became \x8a).
+{
+ no utf8;
+ $_ = "I\xcaJ";
-$_ = "I\xcaJ";
-
-tr/I-J/i-j/;
-
-print "not " unless $_ eq "i\xcaj";
-print "ok 4\n";
+ tr/I-J/i-j/;
+ print "not " unless $_ eq "i\xcaj";
+ print "ok 4\n";
+}
#