diff options
Diffstat (limited to 't/21_annex-to-annex.t')
-rwxr-xr-x | t/21_annex-to-annex.t | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/t/21_annex-to-annex.t b/t/21_annex-to-annex.t index 76ddd27..9589b59 100755 --- a/t/21_annex-to-annex.t +++ b/t/21_annex-to-annex.t @@ -56,7 +56,10 @@ with_temp_annexes { with_temp_annexes { my (undef, $source1, $source2, $dest) = @_; - run_bin qw(annex-to-annex --commit source1/foo source2/other dest); + # also implicitly test, here, that we can invoke the program by + # passing a subroutine reference when invoking main as a class + # method + App::annex_to_annex->main([qw(--commit source1/foo source2/other dest)]); @output = $source1->RUN(qw(log -1 --oneline --name-status)); like $output[0], qr/migrated by annex-to-annex/, |