royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [royale-compiler] branch develop updated: try replacing line endings
Date Mon, 11 Dec 2017 00:55:26 GMT
This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git


The following commit(s) were added to refs/heads/develop by this push:
     new 2f81d9c  try replacing line endings
2f81d9c is described below

commit 2f81d9c3c3e67347cbb051b31d801828b8460143
Author: Alex Harui <aharui@apache.org>
AuthorDate: Sun Dec 10 16:55:18 2017 -0800

    try replacing line endings
---
 compiler/src/test/java/as/ASFeatureTestsBase.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/compiler/src/test/java/as/ASFeatureTestsBase.java b/compiler/src/test/java/as/ASFeatureTestsBase.java
index 5c6d260..9ff4ccb 100644
--- a/compiler/src/test/java/as/ASFeatureTestsBase.java
+++ b/compiler/src/test/java/as/ASFeatureTestsBase.java
@@ -270,6 +270,8 @@ public class ASFeatureTestsBase
 					} catch (IOException e) {
 						e.printStackTrace();
 					}
+					ours = ours.replaceAll("\r\n", "\n");
+					resultText = resultText.replaceAll("\r\n", "\n");
 					// remove file length because the generated classname could have a different
 					// length and affect the swf length
 					int c = resultText.indexOf("<!-- framecount");

-- 
To stop receiving notification emails like this one, please contact
['"commits@royale.apache.org" <commits@royale.apache.org>'].

Mime
View raw message