Skip to content

Commit 68a5d1c

Browse files
committed
Quote version classname in test for 5.8 compatability
1 parent 7c59445 commit 68a5d1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/08_corelist.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ SKIP: {
1313
skip 'No tied hash in Modules::CoreList in Perl', 2
1414
if $@;
1515

16-
my $foo = version->parse($Module::CoreList::version{5.008_000}{base});
16+
my $foo = "version"->parse($Module::CoreList::version{5.008_000}{base});
1717

1818
is $foo, 1.03, 'Correctly handle tied hash';
1919

20-
$foo = version->qv($Module::CoreList::version{5.008_000}{Unicode});
20+
$foo = "version"->qv($Module::CoreList::version{5.008_000}{Unicode});
2121
is $foo, '3.2.0', 'Correctly handle tied hash with dotted decimal';
2222
}

0 commit comments

Comments
 (0)