[FalconJx] minor assert change Matched assert to new result; removed space from "cast" JSDoc comment.
Signed-off-by: Erik de Bruin <e...@ixsoftware.nl> Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/5314f8df Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/5314f8df Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/5314f8df Branch: refs/heads/develop Commit: 5314f8df610b9bfe3e509a510d44c57bd91fd0eb Parents: 0ece2f6 Author: Erik de Bruin <e...@ixsoftware.nl> Authored: Fri Mar 29 19:42:41 2013 +0100 Committer: Erik de Bruin <e...@ixsoftware.nl> Committed: Fri Mar 29 19:42:41 2013 +0100 ---------------------------------------------------------------------- .../codegen/js/flexjs/TestFlexJSExpressions.java | 2 +- .../js/flexjs/TestFlexJSGlobalFunctions.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/5314f8df/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 b72571c..6f850a2 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 @@ -118,7 +118,7 @@ public class TestFlexJSExpressions extends TestGoogExpressions { IFunctionNode node = getMethod("function foo(){A(b).text = '';}"); asBlockWalker.visitFunction(node); - assertOut("A.prototype.foo = function() {\n\tvar self = this;\n\tb /** Cast to A */.text = '';\n}"); + assertOut("A.prototype.foo = function() {\n\tvar self = this;\n\tb/** Cast to A */.text = '';\n}"); } @Test http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/5314f8df/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSGlobalFunctions.java ---------------------------------------------------------------------- diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSGlobalFunctions.java b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSGlobalFunctions.java index 79a649f..0c896cc 100644 --- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSGlobalFunctions.java +++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSGlobalFunctions.java @@ -37,7 +37,7 @@ public class TestFlexJSGlobalFunctions extends TestGoogGlobalFunctions { IVariableNode node = getVariable("var a:uint = uint(-100);"); asBlockWalker.visitVariable(node); - assertOut("var /** @type {number} */ a = -100 /** Cast to uint */"); + assertOut("var /** @type {number} */ a = -100/** Cast to uint */"); } @Override