summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-06-26 05:04:47 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-06-26 05:04:47 +0000
commit2ff9597f81930048fa429ac97cfd1e905d4361e9 (patch)
treee85f91b62008bc0e2741f6e6b3d828709c6562fd /t
parentf239aa5207c4dfaafb6855a1a481730ae4ae61b7 (diff)
Fixing many/most tests in 11-ledgersmb.t
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1323 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 't')
-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');