From b67758700112c004c0f522cda8089fd999bdfcfb Mon Sep 17 00:00:00 2001 From: Sam Brannen <104798+sbrannen@users.noreply.github.com> Date: Sat, 20 Apr 2024 14:45:56 +0200 Subject: [PATCH] Fix Spotless violations --- .../test/java/example/exception/ExceptionAssertionDemo.java | 1 - .../java/example/exception/ExceptionAssertionExactDemo.java | 4 ++-- .../src/test/java/example/exception/FailedAssertionDemo.java | 4 ++-- .../java/example/exception/UncaughtExceptionHandlingDemo.java | 4 ++-- 4 files changed, 6 insertions(+), 7 deletions(-) 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[]