diff --git a/documentation/src/test/java/example/exception/ExceptionAssertionDemo.java b/documentation/src/test/java/example/exception/ExceptionAssertionDemo.java index 98d5146f184d..c99776ea53a0 100644 --- a/documentation/src/test/java/example/exception/ExceptionAssertionDemo.java +++ b/documentation/src/test/java/example/exception/ExceptionAssertionDemo.java @@ -15,7 +15,6 @@ import org.junit.jupiter.api.Test; - class ExceptionAssertionDemo { // @formatter:off diff --git a/documentation/src/test/java/example/exception/ExceptionAssertionExactDemo.java b/documentation/src/test/java/example/exception/ExceptionAssertionExactDemo.java index 8665857344cd..8ef8dfe7c404 100644 --- a/documentation/src/test/java/example/exception/ExceptionAssertionExactDemo.java +++ b/documentation/src/test/java/example/exception/ExceptionAssertionExactDemo.java @@ -13,10 +13,10 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrowsExactly; -import org.junit.jupiter.api.Test; - import extensions.ExpectToFail; +import org.junit.jupiter.api.Test; + public class ExceptionAssertionExactDemo { @ExpectToFail diff --git a/documentation/src/test/java/example/exception/FailedAssertionDemo.java b/documentation/src/test/java/example/exception/FailedAssertionDemo.java index ac82689091fc..f12bba305e19 100644 --- a/documentation/src/test/java/example/exception/FailedAssertionDemo.java +++ b/documentation/src/test/java/example/exception/FailedAssertionDemo.java @@ -14,10 +14,10 @@ import example.util.Calculator; -import org.junit.jupiter.api.Test; - import extensions.ExpectToFail; +import org.junit.jupiter.api.Test; + class FailedAssertionDemo { // tag::user_guide[] diff --git a/documentation/src/test/java/example/exception/UncaughtExceptionHandlingDemo.java b/documentation/src/test/java/example/exception/UncaughtExceptionHandlingDemo.java index 89d871e1cfef..ccc23d012c4d 100644 --- a/documentation/src/test/java/example/exception/UncaughtExceptionHandlingDemo.java +++ b/documentation/src/test/java/example/exception/UncaughtExceptionHandlingDemo.java @@ -12,10 +12,10 @@ import example.util.Calculator; -import org.junit.jupiter.api.Test; - import extensions.ExpectToFail; +import org.junit.jupiter.api.Test; + class UncaughtExceptionHandlingDemo { // tag::user_guide[]