Debian Codegraph @

xt/06_version.t

raw symbols SCIP
1 use strict;
2 use warnings;
3 use utf8;
4 use Test::More;
5 use App::cpanoutdated;
6
7 my $ver = sub {
8 open my $fh, '<', 'script/cpan-outdated' or die $!;
9 while (<$fh>) {
10 if (/VERSION\s=\s(["'])([^"']+)\1/) {
11 return $2;
12 }
13 }
14 undef;
15 }->();
16 is($ver, $App::cpanoutdated::VERSION);
17
18 done_testing;
19