Skip to content

Commit 1abd4d2

Browse files
also test finding the fully-qualified version in the other order
1 parent 6adbbd2 commit 1abd4d2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

t/metadata.t

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,11 @@ $Simple::VERSION = 1.23;
122122
package Simple;
123123
$Simple2::VERSION = '999';
124124
$VERSION = 1.23;
125+
---
126+
'1.23' => <<'---', # Differentiate fully qualified $VERSION and unqualified, other order
127+
package Simple;
128+
$VERSION = 1.23;
129+
$Simple2::VERSION = '999';
125130
---
126131
'1.23' => <<'---', # $VERSION declared as package variable from within 'main' package
127132
$Simple::VERSION = '1.23';

0 commit comments

Comments
 (0)