Skip to content

Commit 2911bfa

Browse files
committed
Moved double-hyphen to yaml
1 parent 6018c96 commit 2911bfa

File tree

4 files changed

+12
-35
lines changed

4 files changed

+12
-35
lines changed

MANIFEST

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ t/ack-dump.t
4242
t/ack-f.yaml
4343
t/ack-files-from.t
4444
t/ack-g.t
45+
t/ack-g.yaml
4546
t/ack-group.t
4647
t/ack-h.yaml
4748
t/ack-help-types.t
@@ -84,7 +85,7 @@ t/config-loader.t
8485
t/context-with-newlines.t
8586
t/context.t
8687
t/default-filter.t
87-
t/double-hyphen.t
88+
t/double-hyphen.yaml
8889
t/empty-lines.t
8990
t/exit-code.t
9091
t/ext-filter.t

t/double-hyphen.t

Lines changed: 0 additions & 33 deletions
This file was deleted.

t/double-hyphen.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
name: Double-hyphen allows hyphens after
3+
args: -i --sort -- -E t/text
4+
# The -i must be in force for the /-E/ to find "-e"
5+
ordered: true
6+
stdout: |
7+
t/text/amontillado.txt:284:to the yells of him who clamored. I re-echoed--I aided--I surpassed
8+
t/text/amontillado.txt:327:I re-erected the old rampart of bones. For the half of a century
9+
t/text/bill-of-rights.txt:53:fact tried by a jury, shall be otherwise re-examined in any Court of

t/yaml.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
use warnings;
44
use strict;
55

6-
use Test::More tests => 20;
6+
use Test::More tests => 21;
77

88
use lib 't';
99
use Util;

0 commit comments

Comments
 (0)