Dancer2-Plugin-JsonApi/xt/worktree-clean.t

13 lines
222 B
Raku

use Test2::V0;
use Git::Wrapper;
my $git = Git::Wrapper->new('.');
my $status = $git->status;
# note: 'yath' might create .test_info and lastlog.jsonl files
ok !$status->is_dirty => "worktree is clean";
done_testing;