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 3c2f15b9ff
commit 9a5143cf4f

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");
}
/**