@ 11d698f

191122.1 · 483bb6b2aedf01a5b1adfec17850f1d13e107cf3

Rename t/issue*.t to be more meaningful

reading declarations

Changes to t/multiple-captures.t. All files

t/multiple-captures.t

new file mode 100644@@ -0,0 +1,21 @@+#!perl++# Multiple capture groups used to confuse ack.+# https://github.com/beyondgrep/ack2/issues/244++use strict;+use warnings;+use Test::More;++use lib 't';+use Util;++plan tests => 2;++prep_environment();++my ( $stdout, $stderr ) = run_ack_with_stderr('--color', '(foo)|(bar)', 't/swamp');+is_nonempty_array( $stdout );+is_empty_array( $stderr );++exit 0;