summaryrefslogtreecommitdiff
path: root/t/op
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-01-06 21:59:00 +0000
committerSteve Peters <steve@fisharerojo.org>2006-01-06 21:59:00 +0000
commit34ba6322b644154d55680c95808981776852ae24 (patch)
treeaabe0a4ab0822979a1d0ba9134c969c4c9f52a53 /t/op
parent29ecdb6fa31693daf50c1386a8ec5d92fb7b0313 (diff)
downloadperl-34ba6322b644154d55680c95808981776852ae24.tar.gz
Upgrade to version-0.52
p4raw-id: //depot/perl@26685
Diffstat (limited to 't/op')
-rwxr-xr-xt/op/sprintf.t14
1 files changed, 6 insertions, 8 deletions
diff --git a/t/op/sprintf.t b/t/op/sprintf.t
index 79953ef6c5..b0f8c02cdb 100755
--- a/t/op/sprintf.t
+++ b/t/op/sprintf.t
@@ -11,6 +11,7 @@ BEGIN {
@INC = '../lib';
}
use warnings;
+use version;
use Config;
use strict;
@@ -243,14 +244,11 @@ __END__
>%vd< >"\01\02\03"< >1.2.3<
>%vd< >v1.2.3< >1.2.3<
>%vd< >[version::qv("1.2.3")]< >1.2.3<
->%vd< >[version::qv("1.2")]< >1.2.0<
->%vd< >[version::qv("1.02")]< >1.2.0<
->%vd< >[version::qv("1.002")]< >1.2.0<
->%vd< >[version::qv("1.02_03")]< >1.23<
->%vd< >[version::qv("1048576.5")]< >1048576.5.0<
->%vd< >[version::qv("50")]< >50.0.0<
->%vd< >[version::qv("50_20")]< >50.200<
->%vd< >[version::qv("5.005_03")]< >5.53<
+>%vd< >[version->new("1.2")]< >1.200<
+>%vd< >[version->new("1.02")]< >1.20<
+>%vd< >[version->new("1.002")]< >1.2<
+>%vd< >[version->new("1048576.5")]< >1048576.500<
+>%vd< >[version->new("50")]< >50.0<
>%v.3d< >"\01\02\03"< >001.002.003<
>%0v3d< >"\01\02\03"< >001.002.003<
>%v.3d< >[version::qv("1.2.3")]< >001.002.003<