We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d484783 commit 4458e5cCopy full SHA for 4458e5c
t/04strict_lax.t
@@ -15,7 +15,11 @@ SKIP: {
15
is ref($version::STRICT), 'Regexp', 'Can see $version::STRICT '.$version::STRICT;
16
{ # https://rt.cpan.org/Ticket/Display.html?id=114712
17
my ($v) = ( "snapshot-1.2.3ga-001-432" =~ /($version::LAX)/ );
18
- is $v, '1.2.3', 'Extract just the version';
+ is $v, '1.2.3', "Extract just the version: $v";
19
+ ($v) = ( "snapshot-1.2ga-001-432" =~ /($version::LAX)/ );
20
+ is $v, '1.2', "Extract just the version: $v";
21
+ ($v) = ( "snapshot-v1.2.3ga-001-432" =~ /($version::STRICT)/ );
22
+ is $v, 'v1.2.3', "Extract just the version: $v";
23
}
24
25
0 commit comments