Skip to content

Commit f7e015c

Browse files
committed
Moved ack-1.t to .yaml
1 parent b611ee5 commit f7e015c

File tree

4 files changed

+38
-69
lines changed

4 files changed

+38
-69
lines changed

MANIFEST

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ t/test-pager
3232

3333
t/00-load.t
3434
t/FilterTest.pm
35-
t/ack-1.t
35+
t/ack-1.yaml
3636
t/ack-Q.t
3737
t/ack-c.yaml
3838
t/ack-color.t

t/ack-1.t

-67
This file was deleted.

t/ack-1.yaml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
name: All the Montresors
3+
args: Montresor -h t/text
4+
stdout: |
5+
the catacombs of the Montresors.
6+
"The Montresors," I replied, "were a great and numerous family."
7+
"For the love of God, Montresor!"
8+
9+
---
10+
name: Stop at one Montresor
11+
args: Montresor -1 -h t/text
12+
stdout: |
13+
the catacombs of the Montresors.
14+
15+
---
16+
name: With dash v
17+
args: c -1 -h -v t/text/raven.txt
18+
stdout: ' Only this and nothing more."'
19+
20+
---
21+
name: Dash f
22+
args: -1 -f --sort-files t/swamp
23+
stdout:
24+
t/swamp/0
25+
26+
---
27+
name: Dash g
28+
args: -1 -g fresh t/
29+
stdout:
30+
t/swamp/fresh.css
31+
32+
---
33+
name: Dash l
34+
args: -1 -l --sort-files the t/text
35+
stdout: |
36+
t/text/amontillado.txt

t/yaml.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
use warnings;
44
use strict;
55

6-
use Test::More tests => 22;
6+
use Test::More tests => 23;
77

88
use lib 't';
99
use Util;

0 commit comments

Comments
 (0)