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

13 lines
222 B
Perl
Raw Normal View History

2023-11-15 14:20:19 +00:00
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;