flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [2/2] git commit: [flex-falcon] [refs/heads/develop] - Removing added parentheses from test assertion because they alter the behavior of the code.
Date Mon, 04 Jan 2016 22:24:56 GMT
Removing added parentheses from test assertion because they alter the behavior of the code.

See https://github.com/apache/flex-falcon/commit/3971196a4478853e1fd443e21e011ee1b8ea14c8#commitcomment-15157562


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

Branch: refs/heads/develop
Commit: dfbd443696f61f136237c2ad768b3568a93a11dd
Parents: 3b036c5
Author: Andy Dufilie <andy.dufilie@gmail.com>
Authored: Thu Dec 31 02:01:47 2015 -0500
Committer: Alex Harui <aharui@apache.org>
Committed: Mon Jan 4 14:24:25 2016 -0800

----------------------------------------------------------------------
 .../compiler/internal/codegen/js/flexjs/TestFlexJSExpressions.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dfbd4436/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSExpressions.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSExpressions.java
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSExpressions.java
index c1804cf..9a88c36 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSExpressions.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSExpressions.java
@@ -935,7 +935,7 @@ public class TestFlexJSExpressions extends TestGoogExpressions
         IFunctionCallNode node = (IFunctionCallNode) getNode("return new Fn(\"a\", \"b\",
\"return a + b;\")(1, 2);", 
         							IFunctionCallNode.class);
         asBlockWalker.visitFunctionCall(node);
-        assertOut("new (Fn(\"a\", \"b\", \"return a + b;\"))(1, 2)");
+        assertOut("new Fn(\"a\", \"b\", \"return a + b;\")(1, 2)");
     }
 
     protected IBackend createBackend()


Mime
View raw message