### ----------------------------------------------------
### -- Git::Files
### -- Licenses: Artistic-2.0
### -- Authors: Elizabeth Mattijsen
### -- File: xt/paths.rakutest
### ----------------------------------------------------
use Test;
use Git::Files;

plan 6;

is-deeply git-files, <
  .github/FUNDING.yml
  .github/workflows/linux.yml
  .github/workflows/macos.yml
  .github/workflows/windows.yml
  .gitignore
  Changes
  LICENSE
  META6.json
  README.md
  bin/git-ls
  dist.ini
  doc/Git-Files.rakudoc
  lib/Git/Files.rakumod
  run-tests
  t/01-basic.rakutest
  xt/coverage.rakutest
  xt/paths.rakutest
>.Slip, 'did default return ok';

is-deeply git-files("t"), <
  t/01-basic.rakutest
>.Slip, 'did "t" return ok';

is-deeply git-files(<lib t xt>), <
  lib/Git/Files.rakumod
  t/01-basic.rakutest
  xt/coverage.rakutest
  xt/paths.rakutest
>.Slip, 'did <lib t xt> return ok';

is-deeply git-files("Changes"), <
  Changes
>.Slip, 'did "Changes" return ok';

is-deeply git-files("lib/Git/Files.rakumod"), <
  lib/Git/Files.rakumod
>.Slip, 'did "lib/Git/Files.rakumod" return ok';

is-deeply git-files("Foo"), <
>.Slip, 'did "Foo" **not** return ok';

# vim: expandtab shiftwidth=4


