@ 11d698f · fetching

230225.2 · fde8a5115cfde60232639bf5ddf333ad34545688

Moved t/internals/* up to t/ because somewhere along the line prove stopped recursing by default

reading declarations

Changes to t/ack-version.t. All files

t/ack-version.t

new file mode 100644@@ -0,0 +1,22 @@+#!perl++use strict;+use warnings;++use Test::More tests => 2;+use lib 't';+use Util;++use App::Ack;++prep_environment();++my ( $stdout, $stderr ) = run_ack_with_stderr( '--version' );++is_empty_array( $stderr, 'Nothing in stderr' );+my @lines = @{$stdout};+like( $lines[0], qr/\Q$App::Ack::VERSION/, 'Found the version in the first line' );++done_testing();++exit 0;