diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-04-24 06:37:59 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-04-24 06:37:59 +0000 |
commit | 8dbfaa5d36ec189ba6941f2f7fc195eeb1133e3f (patch) | |
tree | 1553cc350dad823bf724a9084cab58ddc16631d2 /t/op/ver.t | |
parent | f542ffb367db39e7b23dc65e66936110ad283e81 (diff) | |
download | perl-8dbfaa5d36ec189ba6941f2f7fc195eeb1133e3f.tar.gz |
Larry's fix for buggy propagation of utf8-ness in join(); add test
p4raw-id: //depot/perl@5920
Diffstat (limited to 't/op/ver.t')
-rwxr-xr-x | t/op/ver.t | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/t/op/ver.t b/t/op/ver.t index b08849f53a..5346f392ce 100755 --- a/t/op/ver.t +++ b/t/op/ver.t @@ -5,7 +5,7 @@ BEGIN { unshift @INC, "../lib"; } -print "1..22\n"; +print "1..23\n"; my $test = 1; @@ -72,6 +72,11 @@ print "not " unless sprintf("%*vb", "##", v1.22.333.4444) eq '1##10110##101001101##1000101011100'; print "ok $test\n"; ++$test; +print "not " unless sprintf("%vd", join("", map { chr } + unpack "U*", v2001.2002.2003)) + eq '2001.2002.2003'; +print "ok $test\n"; ++$test; + { use bytes; print "not " unless sprintf("%vd", "Perl") eq '80.101.114.108'; |