You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2017/12/11 00:55:26 UTC

[royale-compiler] branch develop updated: try replacing line endings

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 <ah...@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" <co...@royale.apache.org>'].