@ 11d698f

250405.2 · 6018c96c682b065fec60713a5b19109661b80c2e

Moving tests to YAML

reading declarations

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

t/ack-Q.t

@@ -5,7 +5,7 @@ use warnings;  use Test::More; -plan tests => 3;+plan tests => 2;  use lib 't'; use Util;@@ -14,25 +14,6 @@ prep_environment();  my $ACK = $ENV{ACK_TEST_STANDALONE} ? 'ack-standalone' : 'ack'; -# The unquoted "+" in "svn+ssh" will make the match fail.--subtest 'Plus sign' => sub {-    plan tests => 3;--    my @args = qw( svn+ssh t/swamp );-    ack_lists_match( [ @args ], [], 'No matches without the -Q' );--    my $target = reslash( 't/swamp/Rakefile' );-    my @expected = line_split( <<"HERE" );-$target:44:  baseurl = "svn+ssh:/#{ENV['USER']}\@rubyforge.org/var/svn/#{PKG_NAME}"-$target:50:  baseurl = "svn+ssh:/#{ENV['USER']}\@rubyforge.org/var/svn/#{PKG_NAME}"-HERE-    for my $arg ( qw( -Q --literal ) ) {-        ack_lists_match( [ @args, $arg ], \@expected, "$arg should make svn+ssh finable" );-    }-};-- subtest 'Square brackets' => sub {     plan tests => 4;