fail() shall throw Error, not AssertionError (which is ignored)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143771 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-07-07 11:39:30 +00:00
parent 34ed972af9
commit 28293b5b50
1 changed files with 1 additions and 2 deletions

View File

@ -429,9 +429,8 @@ public final class TestProblems extends HWPFTestCase {
}
static void fixed(String bugzillaId) {
fail("Bug " + bugzillaId + " seems to be fixed. " +
throw new Error("Bug " + bugzillaId + " seems to be fixed. " +
"Please resolve the issue in Bugzilla and remove fail() from the test");
}
/**