trim test process output

This commit is contained in:
2021-08-12 23:39:36 -06:00
parent 830ebb9633
commit a005c43664

View File

@@ -14,8 +14,8 @@ class CompilerToolsTestCase extends Test {
// https://github.com/HaxeFoundation/haxe/issues/10332
#if ((sys || hxnodejs) && !cs)
function testCompileHelloWorldJs() {
Assert.equals("Hello world!", _testCompileHelloWorldJs()());
Assert.equals("Hello world!", _testCompileHelloWorldJsWithPackageJson()());
Assert.equals("Hello world!", _testCompileHelloWorldJs()().trim());
Assert.equals("Hello world!", _testCompileHelloWorldJsWithPackageJson()().trim());
}
static macro function _testCompileHelloWorldJs() {
@@ -34,9 +34,9 @@ class CompilerToolsTestCase extends Test {
}
function testCompileHelloWorldPy() {
Assert.equals("Hello world!", _testCompileHelloWorldPy()());
Assert.equals("Hello world!", _testCompileHelloWorldPyWithRequirementsTxt()());
Assert.equals("Hello world!", _testCompileHelloWorldPyWithSetupPy()());
Assert.equals("Hello world!", _testCompileHelloWorldPy()().trim());
Assert.equals("Hello world!", _testCompileHelloWorldPyWithRequirementsTxt()().trim());
Assert.equals("Hello world!", _testCompileHelloWorldPyWithSetupPy()().trim());
}
static macro function _testCompileHelloWorldPy() {