From f5213a3f72960e6863d891ae6f9bd62f32142524 Mon Sep 17 00:00:00 2001 From: "bclary@bclary.com" Date: Tue, 3 Apr 2007 20:42:01 -0700 Subject: [PATCH] JavaScript Test - update regression test for bug 345736, by Jesse Ruderman --- js/tests/js1_7/geniter/regress-345736.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/js/tests/js1_7/geniter/regress-345736.js b/js/tests/js1_7/geniter/regress-345736.js index 2e0303b67471..73f263638100 100755 --- a/js/tests/js1_7/geniter/regress-345736.js +++ b/js/tests/js1_7/geniter/regress-345736.js @@ -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'); }