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:
parent
3c2f15b9ff
commit
9a5143cf4f
@ -429,9 +429,8 @@ public final class TestProblems extends HWPFTestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void fixed(String bugzillaId) {
|
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");
|
"Please resolve the issue in Bugzilla and remove fail() from the test");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user