Skip to content

Commit

Permalink
MOre YAMLing
Browse files Browse the repository at this point in the history
  • Loading branch information
petdance committed Feb 6, 2025
1 parent b6ee2fa commit fca826d
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 92 deletions.
2 changes: 1 addition & 1 deletion MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ t/double-hyphen.t
t/empty-lines.t
t/exit-code.t
t/ext-filter.t
t/file-filter-inverted.yaml
t/file-iterator.t
t/file-permission.t
t/filetype-detection.yaml
Expand All @@ -104,7 +105,6 @@ t/incomplete-last-line.t
t/interactive.t
t/invalid-ackrc.t
t/invalid-options.t
t/inverted-file-filter.t
t/is-filter.t
t/line-endings.t
t/longopts.t
Expand Down
67 changes: 67 additions & 0 deletions t/file-filter-inverted.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
---
name: Exclusions of filetype
args:
- t/swamp -f -T perl
- t/swamp -f -t noperl
- t/swamp -f --noperl
stdout: |
t/swamp/c-header.h
t/swamp/c-source.c
t/swamp/crystallography-weenies.f
t/swamp/example.R
t/swamp/file.bar
t/swamp/file.foo
t/swamp/foo_test.py
t/swamp/fresh.css
t/swamp/groceries/another_subdir/fruit
t/swamp/groceries/another_subdir/junk
t/swamp/groceries/another_subdir/meat
t/swamp/groceries/dir.d/fruit
t/swamp/groceries/dir.d/junk
t/swamp/groceries/dir.d/meat
t/swamp/groceries/fruit
t/swamp/groceries/junk
t/swamp/groceries/meat
t/swamp/groceries/subdir/fruit
t/swamp/groceries/subdir/junk
t/swamp/groceries/subdir/meat
t/swamp/html.htm
t/swamp/html.html
t/swamp/incomplete-last-line.txt
t/swamp/javascript.js
t/swamp/lua-shebang-test
t/swamp/Makefile
t/swamp/MasterPage.master
t/swamp/notaMakefile
t/swamp/notaRakefile
t/swamp/notes.md
t/swamp/pipe-stress-freaks.F
t/swamp/Rakefile
t/swamp/Sample.ascx
t/swamp/Sample.asmx
t/swamp/sample.asp
t/swamp/sample.aspx
t/swamp/sample.rake
t/swamp/service.svc
t/swamp/stuff.cmake
t/swamp/test.py
t/swamp/test_foo.py
t/swamp/CMakeLists.txt
t/swamp/swamp/ignoreme.txt
t/swamp/not-an-#emacs-workfile#
---
name: Exclusions with added extensions
args:
- "t/swamp -f --type-add=pod:ext:pod -t perl -T pod"
stdout: |
t/swamp/0
t/swamp/constitution-100k.pl
t/swamp/perl.pm
t/swamp/options-crlf.pl
t/swamp/options.pl
t/swamp/perl-without-extension
t/swamp/perl.cgi
t/swamp/Makefile.PL
t/swamp/perl-test.t
t/swamp/perl.pl
90 changes: 0 additions & 90 deletions t/inverted-file-filter.t

This file was deleted.

2 changes: 1 addition & 1 deletion t/yaml.t
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use warnings;
use strict;

use Test::More tests => 11;
use Test::More tests => 12;

use lib 't';
use Util;
Expand Down

0 comments on commit fca826d

Please sign in to comment.