Skip to content

Commit

Permalink
#3132: fix checkstyle in AtCompositeTest
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacParize committed May 16, 2024
1 parent 3d3b521 commit 629b5b6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions eo-runtime/src/test/java/org/eolang/AtCompositeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ public final class AtCompositeTest {
* {@link AtCompositeTest#FAILED_ASSERT_MESSAGE_SUPPLIER} field in
* eo-runtime for getting failed assert messages with class and test
*/
public static final Supplier<String> FAILED_ASSERT_MESSAGE_SUPPLIER = () -> String.format("Failed %s.%s",
Thread.currentThread().getStackTrace()[2].getClassName(),
Thread.currentThread().getStackTrace()[2].getMethodName());
public static final Supplier<String> FAILED_ASSERT_MESSAGE_SUPPLIER =
() -> String.format("Failed %s.%s",
Thread.currentThread().getStackTrace()[2].getClassName(),
Thread.currentThread().getStackTrace()[2].getMethodName()
);

@Test
void decoratesCheckedException() {
Expand Down

0 comments on commit 629b5b6

Please sign in to comment.