Skip to content

Commit

Permalink
feat(objectionary#2638): deleted todo + fixed mistake in OptimizeMojo
Browse files Browse the repository at this point in the history
  • Loading branch information
Yanich96 committed Dec 21, 2023
1 parent 2e14de5 commit 6295cc9
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"})
Expand Down Expand Up @@ -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)
)
);
}
Expand Down

0 comments on commit 6295cc9

Please sign in to comment.