From 6295cc9acaacd47542836884e3de96ed114a3343 Mon Sep 17 00:00:00 2001 From: Alekseeva Yana Date: Thu, 21 Dec 2023 10:48:09 +0300 Subject: [PATCH] feat(#2638): deleted todo + fixed mistake in OptimizeMojo --- .../src/test/java/org/eolang/maven/OptimizeMojoTest.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/eo-maven-plugin/src/test/java/org/eolang/maven/OptimizeMojoTest.java b/eo-maven-plugin/src/test/java/org/eolang/maven/OptimizeMojoTest.java index 7a3d35d345..d03b85d97a 100644 --- a/eo-maven-plugin/src/test/java/org/eolang/maven/OptimizeMojoTest.java +++ b/eo-maven-plugin/src/test/java/org/eolang/maven/OptimizeMojoTest.java @@ -49,11 +49,6 @@ /** * Test case for {@link OptimizeMojo}. - * @todo #2638:15min The test {@link #doesNotCrashesOnError(Path path)} has the mistake: - * Here "Matchers.hasKey(String.format("target/%s/foo/x/main.%s", - * ParseMojo.DIR, TranspileMojo.EXT)". - * But it should be "Matchers.hasKey(String.format("target/%s/foo/x/main.%s", - * OptimizeMojo.DIR, TranspileMojo.EXT)". Or is this not a mistake? * @since 0.1 */ @SuppressWarnings({"PMD.AvoidDuplicateLiterals", "PMD.TooManyMethods"}) @@ -236,7 +231,7 @@ void doesNotCrashesOnError(@TempDir final Path temp) throws Exception { .execute(new FakeMaven.Optimize()) .result(), Matchers.hasKey( - String.format("target/%s/foo/x/main.%s", ParseMojo.DIR, TranspileMojo.EXT) + String.format("target/%s/foo/x/main.%s", OptimizeMojo.DIR, TranspileMojo.EXT) ) ); }