JavaScript Tests - fix test to match new decompilation and to add missing brace in expected decompilation, bug 381205

This commit is contained in:
bclary@bclary.com 2007-05-31 11:31:12 -07:00
parent 84b4d3916f
commit 2f92518be4

View File

@ -46,7 +46,7 @@ var expect = '';
printBugNumber(BUGNUMBER);
printStatus (summary);
expect = '({get x () {print(4);})';
expect = '({get x p() {print(4);}})';
getter function p() { print(4) }
actual = uneval({x getter: this.__lookupGetter__("p")});
reportCompare(expect, actual, summary + ': global');