From f54ebfe13df04010b402710a146f302480aa9da1 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 3 Feb 2020 21:39:58 -0700 Subject: check that it is relaxed about dir existing Signed-off-by: Sean Whitton --- t/10_init.t | 1 + 1 file changed, 1 insertion(+) (limited to 't') 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"; } { -- cgit v1.2.3