Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shartte committed Nov 29, 2024
1 parent a031181 commit c341da3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ void testDependencyOverride() throws Exception {
});
})
.build();
assertThat(launchAndLoad("forgeclient").issues()).isEmpty();
assertThat(launchAndLoad("neoforgeclient").issues()).isEmpty();
}

@Test
Expand All @@ -455,7 +455,7 @@ void testInvalidDependencyOverride() throws Exception {
installation.writeConfig("[dependencyOverrides]", "unknownmod = [\"-testmod\"]", "testmod = [\"+depdoesntexist\"]");
installation.buildModJar("testmod.jar").withMod("testmod", "1.0").build();

var r = launchAndLoad("forgeclient");
var r = launchAndLoad("neoforgeclient");
assertThat(getTranslatedIssues(r.issues())).containsOnly(
"WARNING: Unknown dependency override target with id unknownmod",
"WARNING: Unknown mod depdoesntexist referenced in dependency overrides for mod testmod");
Expand Down

0 comments on commit c341da3

Please sign in to comment.