Skip to content

Commit

Permalink
Merge pull request #3969 from Suban05/fix-integration
Browse files Browse the repository at this point in the history
#3970 remove the dependence of the test on the runtime version
  • Loading branch information
maxonfjvipon authored Feb 28, 2025
2 parents b17fe43 + 80684ef commit 2c7f0c8
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ void assemblesTogether(@Mktmp final Path temp) throws IOException {
new Farea(temp).together(
f -> {
f.clean();
f.dependencies()
.append("org.eolang", "eo-runtime", "0.51.6");
f.files()
.file("src/main/eo/one/main.eo")
.write(AssembleMojoIT.helloWorld().getBytes(StandardCharsets.UTF_8));
Expand All @@ -50,13 +48,13 @@ void assemblesTogether(@Mktmp final Path temp) throws IOException {
"AssembleMojo should have placed runtime",
"library, but didn't"
),
f.files().file(
temp.resolve(
String.format(
"target/eo/%s/org.eolang/eo-runtime/-/0.51.6/org/eolang/Phi.class",
"target/eo/%s/org.eolang/eo-runtime",
ResolveMojo.DIR
)
).exists(),
Matchers.is(true)
).toAbsolutePath(),
new ContainsFiles("**/org/eolang/Phi.class")
);
MatcherAssert.assertThat(
String.format(
Expand Down

0 comments on commit 2c7f0c8

Please sign in to comment.