mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-28 00:34:19 +00:00
The duplicate-id test uses iris:floating, which is still compiled in, since terrain moved into the jar
This commit is contained in:
1 parent
eca3908ec1
commit
9a0c4af126
1 file changed
+3
-3
+3
-3
@@ -19,7 +19,7 @@
|
||||
package art.arcane.iris.core.modules;
|
||||
|
||||
import art.arcane.iris.core.loader.IrisData;
|
||||
import art.arcane.iris.engine.actuator.TerrainModule;
|
||||
import art.arcane.iris.engine.modifier.FloatingModule;
|
||||
import com.volmit.host.LoadedPack;
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
@@ -79,7 +79,7 @@ public class PackModuleJarNextToBuiltInsTest {
|
||||
|
||||
@Test
|
||||
public void aJarModuleWithTheIdOfACompiledInBuiltInFailsAsADuplicate() throws IOException {
|
||||
String builtInId = new TerrainModule().info().id().toString();
|
||||
String builtInId = new FloatingModule().info().id().toString();
|
||||
Path packFolder = BuiltInPack.newPackFolder(folder);
|
||||
PackModuleJar.write(packFolder, "carve.jar", "pack.ported.Ported",
|
||||
Map.of("pack.ported.Ported", module("ported", "Ported", builtInId)));
|
||||
@@ -88,7 +88,7 @@ public class PackModuleJarNextToBuiltInsTest {
|
||||
() -> BuiltInPack.serve(mock(IrisData.class), folder, packFolder, List.of()));
|
||||
|
||||
assertEquals("Duplicate module " + builtInId + " from " + Path.of("modules", "carve.jar") + " (pack.ported.Ported); already loaded from host classpath ("
|
||||
+ TerrainModule.class.getName() + ")", failure.getMessage());
|
||||
+ FloatingModule.class.getName() + ")", failure.getMessage());
|
||||
}
|
||||
|
||||
private static String module(String packageName, String className, String moduleId) {
|
||||
|
||||
Reference in new issue
Block a user