From 2ff9597f81930048fa429ac97cfd1e905d4361e9 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Tue, 26 Jun 2007 05:04:47 +0000 Subject: 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 --- t/11-ledgersmb.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 't') 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'); -- cgit v1.2.3