Skip to content

Commit

Permalink
feat(#2217): remove the puzzle for the 2217 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Jul 7, 2023
1 parent 2637b87 commit e42635e
Showing 1 changed file with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@
* Test case for {@link AssembleMojo}.
*
* @since 0.1
* @todo #2120:90min Use FakeMaven in AssembleMojoTest.
* It's better to refactor of the tests inside {@link AssembleMojoTest}.
* Refactoring will simplify the existing code and reduce the total lines number.
* When the refactoring is done, remove this puzzle.
*/
@ExtendWith(OnlineCondition.class)
final class AssembleMojoTest {
Expand All @@ -55,7 +51,7 @@ final class AssembleMojoTest {
"+version 0.0.0",
"",
"[x] < wrong>",
" (stdout \"Hello!\" x).print"
" (stdout \"Hello!\" x).print",
};

@Test
Expand All @@ -69,15 +65,18 @@ void assemblesTogether(@TempDir final Path temp) throws IOException {
)
.execute(AssembleMojo.class)
.result();
final String parsed = String.format("target/%s/org/eolang/io/stdout.%s",
final String parsed = String.format(
"target/%s/org/eolang/io/stdout.%s",
ParseMojo.DIR,
TranspileMojo.EXT
);
final String optimized = String.format("target/%s/org/eolang/io/stdout.%s",
final String optimized = String.format(
"target/%s/org/eolang/io/stdout.%s",
OptimizeMojo.DIR,
TranspileMojo.EXT
);
final String pulled = String.format("target/%s/org/eolang/io/stdout.eo",
final String pulled = String.format(
"target/%s/org/eolang/io/stdout.eo",
PullMojo.DIR
);
MatcherAssert.assertThat(
Expand Down

0 comments on commit e42635e

Please sign in to comment.