You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by jo...@apache.org on 2019/02/06 16:40:00 UTC

[royale-compiler] 04/05: TestRoyaleGlobalClasses: fixed regular expression for backslash in arrayHasInsertAtRemoveAt() because it was causing tests to fail

This is an automated email from the ASF dual-hosted git repository.

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

commit 224aa33eb3bc540567edaa1b41e098625806cc7a
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Wed Feb 6 08:14:45 2019 -0800

    TestRoyaleGlobalClasses: fixed regular expression for backslash in arrayHasInsertAtRemoveAt() because it was causing tests to fail
---
 .../compiler/internal/codegen/js/royale/TestRoyaleGlobalClasses.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleGlobalClasses.java b/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleGlobalClasses.java
index 7209336..4f590d3 100644
--- a/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleGlobalClasses.java
+++ b/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleGlobalClasses.java
@@ -157,7 +157,7 @@ public class TestRoyaleGlobalClasses extends TestGoogGlobalClasses
     	String path = pg.getAbsolutePath();
     	String[] parts = path.split("/");
     	if (path.contains("\\"))
-    		parts = path.split("\\");
+    		parts = path.split("\\\\");
     	for (String part : parts)
     	{
     		if (part.contains("."))
@@ -173,7 +173,6 @@ public class TestRoyaleGlobalClasses extends TestGoogGlobalClasses
     			}
     		}
     	}
-		// TODO Auto-generated method stub
 		return false;
 	}