### ----------------------------------------------------
### -- under-version-control
### -- Licenses: Artistic-2.0
### -- Authors: Elizabeth Mattijsen
### -- File: t/01-basic.rakutest
### ----------------------------------------------------
use Test;
use under-version-control;

plan 2;

my $tmpdir := $*TMPDIR;
my $git    := $tmpdir.add(".git");
LEAVE $git.rmdir if $git.d;

is-deeply $tmpdir.&under-version-control, False, 'before';
$git.mkdir;
is-deeply $tmpdir.&under-version-control, True, 'after';

# vim: expandtab shiftwidth=4


