blob: 276e2f2a024acb3e475328eed29f3fd42b1c5273 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
BEGIN {
chdir 't';
@INC = '../lib';
require './test.pl';
}
plan tests => 4;
sub ToUpper {
return <<END;
0061 0063 0041
END
}
is("\Ufoo\x{101}", "foo\x{101}", "no changes on 'foo'");
is("\Ubar\x{101}", "BAr\x{101}", "changing 'ab' on 'bar' ");
sub ToLower {
return <<END;
0041 0061
END
}
is("\LFOO\x{100}", "FOO\x{100}", "no changes on 'FOO'");
is("\LBAR\x{100}", "BaR\x{100}", "changing 'A' on 'BAR' ");
|