summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-08-19 11:24:50 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-08-19 11:24:50 +0200
commitdcb88a73de56ed32368ebbf9b22053b2c1b1c89b (patch)
tree3f73163f7cf4b75a9072e9fd6a6e541f5fe0a6ee /t
parent78872a2a6492f901960b0e6bfd77eb9d44990c1c (diff)
downloadApp-BorgRestore-dcb88a73de56ed32368ebbf9b22053b2c1b1c89b.tar.gz
App-BorgRestore-dcb88a73de56ed32368ebbf9b22053b2c1b1c89b.tar.xz
t/find_archives: Check exception string
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 't')
-rw-r--r--t/09_find_archives.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/09_find_archives.t b/t/09_find_archives.t
index eebea6c..7b1fc0f 100644
--- a/t/09_find_archives.t
+++ b/t/09_find_archives.t
@@ -46,5 +46,6 @@ eq_or_diff($app->find_archives('test/path'), [
]);
dies_ok {$app->find_archives('test/nope')};
+is ($@, "Path 'test/nope' not found in any archive.\n");
done_testing;