From 69597ebf364a8a7305366d4693a74a9f1b4146af Mon Sep 17 00:00:00 2001 From: volodya-lombrozo Date: Sun, 1 Dec 2024 18:40:39 +0300 Subject: [PATCH] feat(#889): suppress some warnings --- .../org/eolang/jeo/representation/XmirRepresentationTest.java | 1 + .../eolang/jeo/representation/directives/DirectivesSeqTest.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/eolang/jeo/representation/XmirRepresentationTest.java b/src/test/java/org/eolang/jeo/representation/XmirRepresentationTest.java index edb4eeaeb..89a5bcd07 100644 --- a/src/test/java/org/eolang/jeo/representation/XmirRepresentationTest.java +++ b/src/test/java/org/eolang/jeo/representation/XmirRepresentationTest.java @@ -167,6 +167,7 @@ void failsToOpenBrokenXmirRepresentationFromFile(@TempDir final Path dir) throws */ @Test @Disabled + @SuppressWarnings("PMD.GuardLogStatement") void convertsToXmirAndBack() { final Bytecode before = new BytecodeProgram( new BytecodeClass("org/eolang/foo/Math") diff --git a/src/test/java/org/eolang/jeo/representation/directives/DirectivesSeqTest.java b/src/test/java/org/eolang/jeo/representation/directives/DirectivesSeqTest.java index c83990e90..a70898102 100644 --- a/src/test/java/org/eolang/jeo/representation/directives/DirectivesSeqTest.java +++ b/src/test/java/org/eolang/jeo/representation/directives/DirectivesSeqTest.java @@ -79,7 +79,7 @@ void computesSize( * Sequences to test. * @return Stream of arguments. */ - private static Stream sequences() { + static Stream sequences() { return Stream.of( Arguments.of( new DirectivesSeq(