Skip to content

Commit

Permalink
Item9103: Move an assert into try block - for some reason $resp is no…
Browse files Browse the repository at this point in the history
…t passed back from the try.

git-svn-id: http://svn.foswiki.org/trunk@7654 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
GeorgeClark authored and GeorgeClark committed Jun 6, 2010
1 parent 61954e4 commit 962e892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UnitTestContrib/test/unit/ConfigureTests.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1417,11 +1417,11 @@ sub test_Package_fetchFile {
$pkg->repository($repository);

($resp, $file) = $pkg->_fetchFile( '_installer' );
$this->assert_str_equals('', $resp);
}
except {
my $E = shift;
}
$this->assert_str_equals('', $resp);
}

#
Expand Down

0 comments on commit 962e892

Please sign in to comment.