This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-scripting-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 3b64f73 Cleanup tests (#60)
3b64f73 is described below
commit 3b64f73d842141d45cd44a4cc81cde0bd1761aad
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sun Dec 21 15:23:27 2025 +0100
Cleanup tests (#60)
Co-authored-by: Moderne <[email protected]>
---
.../org/apache/maven/plugins/scripting/engine/JavaEngineTest.java | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git
a/src/test/java/org/apache/maven/plugins/scripting/engine/JavaEngineTest.java
b/src/test/java/org/apache/maven/plugins/scripting/engine/JavaEngineTest.java
index a31404b..78cf77e 100644
---
a/src/test/java/org/apache/maven/plugins/scripting/engine/JavaEngineTest.java
+++
b/src/test/java/org/apache/maven/plugins/scripting/engine/JavaEngineTest.java
@@ -38,16 +38,15 @@ package org.apache.maven.plugins.scripting.engine;
*/
import javax.script.ScriptEngineManager;
-import javax.script.ScriptException;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNull;
-public class JavaEngineTest {
+class JavaEngineTest {
@Test
- public void run() throws ScriptException {
+ void run() throws Exception {
assertNull(System.getProperty("JavaEngineTest.run"));
new ScriptEngineManager()
.getEngineByExtension("java")