File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed
platform-tests/src/test/java/org/junit/platform Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -197,6 +197,10 @@ void failingAssertion() {
197197 fail ();
198198 }
199199
200+ private static void fail () {
201+ Assertions .fail ();
202+ }
203+
200204 @ Test
201205 void multipleFailingAssertions () {
202206 failMultiple ();
@@ -212,10 +216,6 @@ void failingAssumption() {
212216 throw new RuntimeException ();
213217 });
214218 }
215-
216- private static void fail () {
217- Assertions .fail ();
218- }
219219 }
220220
221221 @ SuppressWarnings ("JUnitMalformedDeclaration" )
@@ -226,6 +226,10 @@ void setUp() {
226226 fail ();
227227 }
228228
229+ private static void fail () {
230+ Assertions .fail ();
231+ }
232+
229233 @ Test
230234 void test () {
231235 }
@@ -243,15 +247,7 @@ class NestedNestedTestCase {
243247 @ Test
244248 void test () {
245249 }
246-
247250 }
248-
249- }
250-
251- private static void fail () {
252- Assertions .fail ();
253251 }
254-
255252 }
256-
257253}
You can’t perform that action at this time.
0 commit comments