summaryrefslogtreecommitdiffstats
path: root/t/03_timespec.t
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-04-01 20:23:16 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-04-01 20:23:16 +0200
commitb83c55e97fa95713f66198c42577c284036ecefa (patch)
tree589346f372d83ada4d56e278292a4d708e0e1e65 /t/03_timespec.t
parent4d1540fe2acabc69ff5426e28a3b45762318de5d (diff)
downloadApp-BorgRestore-b83c55e97fa95713f66198c42577c284036ecefa.tar.gz
App-BorgRestore-b83c55e97fa95713f66198c42577c284036ecefa.tar.xz
Do not pass $opts to main class
The only reason this was done, was for the debug output. This no longer requires large amounts of memory or time (simple count(*) in the db now) so this is no longer necessary. Signed-off-by: Florian Pritz <bluewind@xinu.at>
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');