Fix script tests output comparison and idea jsr223 test dependency on windows
This commit is contained in:
@@ -49,5 +49,8 @@ internal fun captureOut(body: () -> Unit): String {
|
|||||||
return outStream.toString()
|
return outStream.toString()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private fun String.linesSplitTrim() =
|
||||||
|
split('\n','\r').map(String::trim).filter(String::isNotBlank)
|
||||||
|
|
||||||
internal fun assertEqualsTrimmed(expected: String, actual: String) =
|
internal fun assertEqualsTrimmed(expected: String, actual: String) =
|
||||||
Assert.assertEquals(expected.trim(), actual.trim())
|
Assert.assertEquals(expected.linesSplitTrim(), actual.linesSplitTrim())
|
||||||
|
|||||||
@@ -54,5 +54,6 @@
|
|||||||
<orderEntry type="library" name="java-decompiler-plugin" level="project" />
|
<orderEntry type="library" name="java-decompiler-plugin" level="project" />
|
||||||
<orderEntry type="module" module-name="formatter" />
|
<orderEntry type="module" module-name="formatter" />
|
||||||
<orderEntry type="module" module-name="idea-maven" />
|
<orderEntry type="module" module-name="idea-maven" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="native-platform-uberjar" level="project" />
|
||||||
</component>
|
</component>
|
||||||
</module>
|
</module>
|
||||||
Reference in New Issue
Block a user