@ 11d698f

250526.11 · b304dbee1cb4d125c6d44f191be8cd758c88acc3

Moving tests to YAML

reading declarations

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

t/ack-s.t

@@ -3,30 +3,13 @@ use strict; use warnings; -use Test::More tests => 4;+use Test::More tests => 1; use lib 't'; use Util; use File::Temp;  prep_environment(); -WITHOUT_S: {-    my @files = qw( non-existent-file.txt );-    my @args  = qw( search-term );-    my (undef, $stderr) = run_ack_with_stderr( @args, @files );--    is( @{$stderr}, 1, 'Exactly one line of error' );-    like( $stderr->[0], qr/\Qnon-existent-file.txt: No such file or directory\E/, q{Error if there's no file} );-}--WITH_S: {-    my @files = qw( non-existent-file.txt );-    my @args  = qw( search-term -s );-    my (undef, $stderr) = run_ack_with_stderr( @args, @files );--    is_empty_array( $stderr, 'Nothing in stderr' );-}- RESTRICTED_DIRECTORIES: {     my @args = qw( hello -s );