diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-02-03 21:39:58 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-02-03 21:39:58 -0700 |
commit | f54ebfe13df04010b402710a146f302480aa9da1 (patch) | |
tree | 0595dde8b25bf942af4339fc64afb0c1d4ebe1dd | |
parent | 36fc8a8cef0f3cba576d7e9bb0d39c892a7281e2 (diff) | |
download | p5-Git-Annex-f54ebfe13df04010b402710a146f302480aa9da1.tar.gz |
check that it is relaxed about dir existing
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rwxr-xr-x | t/10_init.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/10_init.t b/t/10_init.t index 2009f96..5d72048 100755 --- a/t/10_init.t +++ b/t/10_init.t @@ -22,6 +22,7 @@ use File::Spec::Functions qw(catfile file_name_is_absolute); $annex = Git::Annex->new("foo"); ok file_name_is_absolute $annex->toplevel, "it converts a relative path to absolute"; + ok !-d $annex->toplevel, "it permits initialisation in a nonexistent dir"; } { |