### ----------------------------------------------------
### -- File::Ignore
### -- Licenses: Artistic-2.0
### -- Authors: 
### -- File: t/walk.rakutest
### ----------------------------------------------------
use Test;

use File::Ignore;

plan 1;

my $ignorer = File::Ignore.parse: q:to/IGNORES/;
    *.swp
    output/
    gen_*.c
    IGNORES
my $test-path = $*PROGRAM.dirname ~ '/example';
is $ignorer.walk($test-path).sort, <README.md src/blah.c src/generate_foo_c.pl>,
    'Can walk directory structure and apply ignores';

# vim: expandtab shiftwidth=4


