test(ModuleEnvironmentTest): assert, don't `assume`!
A failed "assume" marks the test as skipped, not failed.
import java.nio.file.Path;
-import static org.junit.jupiter.api.Assumptions.assumeTrue;
+import static org.junit.jupiter.api.Assertions.assertTrue;
public abstract class ModuleEnvironmentTest {
protected ModuleManager moduleManager;
@@ -29,7 +29,7 @@ public void before(@TempDir Path tempHome) throws Exception {
DependencyResolver resolver = new DependencyResolver(moduleManager.getRegistry());
ResolutionResult result = resolver.resolve(moduleManager.getRegistry().getModuleIds());
- assumeTrue(result.isSuccess());
+ assertTrue(result.isSuccess());
ModuleEnvironment environment = moduleManager.loadEnvironment(result.getModules(), true);
typeRegistry = new ModuleTypeRegistry(environment);
