JavaScript Test - update regression test for bug 345736, by Jesse Ruderman

This commit is contained in:
bclary@bclary.com 2007-04-03 20:42:01 -07:00
parent 66ab7f7c6f
commit f5213a3f72

View File

@ -20,6 +20,7 @@
* the Initial Developer. All Rights Reserved.
*
* Contributor(s): David Finch
* Jesse Ruderman
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
@ -65,5 +66,13 @@ function test()
actual = arr.toString();
reportCompare(expect, actual, summary);
arr=[x+x for ([,x] in ["a","b","c"])];
expect = 'aa,bb,cc';
actual = arr.toString();
arr=[x+y for ([x,y] in ["a","b","c"])];
expect = '0a,1b,2c';
actual = arr.toString();
exitFunc ('test');
}