From 63f50221126c6ad5e2ce81bb50854afbacc78759 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Thu, 12 Aug 2021 23:39:36 -0600 Subject: [PATCH] trim test process output --- kiss/src/test/cases/CompilerToolsTestCase.hx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kiss/src/test/cases/CompilerToolsTestCase.hx b/kiss/src/test/cases/CompilerToolsTestCase.hx index 096cd8ba..e235f384 100644 --- a/kiss/src/test/cases/CompilerToolsTestCase.hx +++ b/kiss/src/test/cases/CompilerToolsTestCase.hx @@ -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() {