JavaScript Test - update test to reflect current behavior
git-svn-id: svn://10.0.0.236/trunk@209624 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -51,7 +51,7 @@ function test()
|
||||
printBugNumber (bug);
|
||||
printStatus (summary);
|
||||
|
||||
expect = 'function (x) {\n return x ? 0 : let (a = 3) a;\n}';
|
||||
expect = 'function (x) {\n return x ? 0 : (let (a = 3) a);\n}';
|
||||
|
||||
var f = function (x) { return x ? 0 : let (a = 3) a; }
|
||||
actual = f.toString();
|
||||
|
||||
@@ -51,7 +51,7 @@ function test()
|
||||
printBugNumber (bug);
|
||||
printStatus (summary);
|
||||
|
||||
expect = 'function (x) {\n new (let (x = 3) x)();\n}';
|
||||
expect = 'function (x) {\n new (let (x = 3) x);\n}';
|
||||
|
||||
var f = function(x) { new let (x = 3) x };
|
||||
actual = f.toString();
|
||||
|
||||
Reference in New Issue
Block a user