diff options
Diffstat (limited to 'lib/Module/Build/t')
-rw-r--r-- | lib/Module/Build/t/metadata.t | 4 | ||||
-rw-r--r-- | lib/Module/Build/t/moduleinfo.t | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/Module/Build/t/metadata.t b/lib/Module/Build/t/metadata.t index 6dc67a8daf..41660929d9 100644 --- a/lib/Module/Build/t/metadata.t +++ b/lib/Module/Build/t/metadata.t @@ -147,8 +147,8 @@ $VERSION = version->new('0.61.' . (qw$Revision: 129 $)[1]); --- $dist->regen; my $provides = new_build()->prepare_metadata()->{provides}; - is $provides->{'Simple'}{version}, 'v0.60.128', "Check version"; - is $provides->{'Simple::Simon'}{version}, 'v0.61.129', "Check version"; + is $provides->{'Simple'}{version}, '0.60.128', "Check version"; + is $provides->{'Simple::Simon'}{version}, '0.61.129', "Check version"; is ref($provides->{'Simple'}{version}), '', "Versions from prepare_metadata() aren't refs"; is ref($provides->{'Simple::Simon'}{version}), '', "Versions from prepare_metadata() aren't refs"; } diff --git a/lib/Module/Build/t/moduleinfo.t b/lib/Module/Build/t/moduleinfo.t index b08d5a2a9a..a97cac5ee4 100644 --- a/lib/Module/Build/t/moduleinfo.t +++ b/lib/Module/Build/t/moduleinfo.t @@ -419,10 +419,10 @@ $VERSION = version->new('0.61.' . (qw$Revision: 129 $)[1]); $pm_info = Module::Build::ModuleInfo->new_from_file('lib/Simple.pm'); is( $pm_info->name, 'Simple', 'found default package' ); - is( $pm_info->version, 'v0.60.128', 'version for default package' ); + is( $pm_info->version, '0.60.128', 'version for default package' ); my @packages = $pm_info->packages_inside; is_deeply([sort @packages], ['Simple', 'Simple::Simon']); - is( $pm_info->version('Simple::Simon'), 'v0.61.129', 'version for embedded package' ); + is( $pm_info->version('Simple::Simon'), '0.61.129', 'version for embedded package' ); } |