summaryrefslogtreecommitdiffstats
path: root/t/03_timespec.t
diff options
context:
space:
mode:
Diffstat (limited to 't/03_timespec.t')
-rw-r--r--t/03_timespec.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/03_timespec.t b/t/03_timespec.t
index 250ce9f..ae1b1e5 100644
--- a/t/03_timespec.t
+++ b/t/03_timespec.t
@@ -5,7 +5,7 @@ use Test::More;
use App::BorgRestore;
-my $app = App::BorgRestore->new_no_defaults({}, undef);
+my $app = App::BorgRestore->new_no_defaults(undef);
is($app->timespec_to_seconds('5s'), 5, '5 seconds');
is($app->timespec_to_seconds('5minutes'), 5*60, '5 minutes');