You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2016/01/04 23:24:56 UTC

[2/2] git commit: [flex-falcon] [refs/heads/develop] - Removing added parentheses from test assertion because they alter the behavior of the code.

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 <an...@gmail.com>
Authored: Thu Dec 31 02:01:47 2015 -0500
Committer: Alex Harui <ah...@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()