elharo commented on PR #208:
URL:
https://github.com/apache/maven-script-interpreter/pull/208#issuecomment-5524802026
Hmm, this fails on JDK 25 but in a strange way. Might be related:
```
[INFO] Running
org.apache.maven.shared.scriptinterpreter.BeanShellScriptInterpreterTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.122
s -- in org.apache.maven.shared.scriptinterpreter.BeanShellScriptInterpreterTest
[INFO] Running org.apache.maven.shared.scriptinterpreter.FileLoggerTest
[ERROR] Tests run: 6, Failures: 2, Errors: 0, Skipped: 0, Time elapsed:
0.108 s <<< FAILURE! -- in
org.apache.maven.shared.scriptinterpreter.FileLoggerTest
[ERROR]
org.apache.maven.shared.scriptinterpreter.FileLoggerTest.outputFileNoMirror(File)
-- Time elapsed: 0.078 s <<< FAILURE!
org.opentest4j.AssertionFailedError:
expected: <Test1
Test2
> but was: <Test1
Test2
>
at
org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at
org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at
org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
at
org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
at
org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1145)
at
org.apache.maven.shared.scriptinterpreter.FileLoggerTest.outputFileNoMirror(FileLoggerTest.java:93)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]