diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-12-04 06:06:49 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-12-04 06:06:49 +0000 |
commit | 5e03713652a5a31e165226d9e78b9e3ea09b0a1d (patch) | |
tree | b7315179a21d3bf7406d8260e6804bf92156f6e2 /t/op/tr.t | |
parent | 379c5dcc2964f5ce6d1fea34580b612a7f9ebc2d (diff) | |
download | perl-5e03713652a5a31e165226d9e78b9e3ea09b0a1d.tar.gz |
tweak test for UTEST
p4raw-id: //depot/perl@2448
Diffstat (limited to 't/op/tr.t')
-rwxr-xr-x | t/op/tr.t | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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"; +} # |