flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject git commit: [flex-falcon] [refs/heads/develop] - try to make sure slashes are forward
Date Fri, 02 Oct 2015 15:20:21 GMT
Repository: flex-falcon
Updated Branches:
  refs/heads/develop b45b161c2 -> 41cfde892


try to make sure slashes are forward


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/41cfde89
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/41cfde89
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/41cfde89

Branch: refs/heads/develop
Commit: 41cfde8922c3456d80af175ca90297caa83633ac
Parents: b45b161
Author: Alex Harui <aharui@apache.org>
Authored: Fri Oct 2 16:19:59 2015 +0100
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Oct 2 16:19:59 2015 +0100

----------------------------------------------------------------------
 .../compiler/internal/codegen/js/flexjs/TestFlexJSProject.java  | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/41cfde89/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSProject.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSProject.java
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSProject.java
index 60fbf8d..faac533 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSProject.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSProject.java
@@ -108,8 +108,11 @@ public class TestFlexJSProject extends TestGoogProject
         compileProject(fileName, testDirPath, sb, false);
 
         externs.clear();
+
+        String out = sb.toString();
+        out = out.replace("\\", "/");
         
-        assertThat(sb.toString(), is("test-files/flexjs/projects/package_conflicts_ambiguous_definition/mypackage/TestClass.as(29:20)\nAmbiguous
reference to Event\ntest-files/flexjs/projects/package_conflicts_ambiguous_definition/mypackage/TestClass.as(30:41)\nAmbiguous
reference to Event\n"));
+        assertThat(out, is("test-files/flexjs/projects/package_conflicts_ambiguous_definition/mypackage/TestClass.as(29:20)\nAmbiguous
reference to Event\ntest-files/flexjs/projects/package_conflicts_ambiguous_definition/mypackage/TestClass.as(30:41)\nAmbiguous
reference to Event\n"));
     }
 
     @Test


Mime
View raw message