summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--t/11-ledgersmb.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/11-ledgersmb.t b/t/11-ledgersmb.t
index b1719ea9..accd4ab5 100644
--- a/t/11-ledgersmb.t
+++ b/t/11-ledgersmb.t
@@ -180,13 +180,13 @@ ok(defined $lsmb->{menubar}, 'new: lynx, menubar defined (deprecated)');
is($lsmb->{menubar}, 1, 'new: lynx, menubar enabled (deprecated)');
ok(defined $lsmb->{version}, 'new: lynx, version defined');
-@r = trap {$lsmb = LedgerSMB->new();
+@r = trap {$lsmb = LedgerSMB->new()};
is($trap->die, "Error: Access Denied\n",
'new: directory traversal 1 caught');
-@r = trap {$lsmb = LedgerSMB->new();
+@r = trap {$lsmb = LedgerSMB->new()};
is($trap->die, "Error: Access Denied\n",
'new: directory traversal 2 caught');
-@r = trap {$lsmb = LedgerSMB->new();
+@r = trap {$lsmb = LedgerSMB->new()};
is($trap->die, "Error: Access Denied\n",
'new: directory traversal 3 caught');