From 20f88523103f5649f305eb52cb5d2691cd0f9b93 Mon Sep 17 00:00:00 2001 From: "cbegle%netscape.com" Date: Tue, 11 May 1999 15:55:22 +0000 Subject: [PATCH] Error in the test -- it was not evaluating the statement that is supposed to produce an error. --- js/tests/ecma/LexicalConventions/7.8.2-n.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/js/tests/ecma/LexicalConventions/7.8.2-n.js b/js/tests/ecma/LexicalConventions/7.8.2-n.js index ecd35dfcc875..da38fb3c2715 100644 --- a/js/tests/ecma/LexicalConventions/7.8.2-n.js +++ b/js/tests/ecma/LexicalConventions/7.8.2-n.js @@ -2,19 +2,19 @@ * Version 1.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://www.mozilla.org/NPL/ - * + * * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the * License for the specific language governing rights and limitations * under the License. - * + * * The Original Code is Mozilla Communicator client code, released March * 31, 1998. - * + * * The Initial Developer of the Original Code is Netscape Communications * Corporation. Portions created by Netscape are Copyright (C) 1998 * Netscape Communications Corporation. All Rights Reserved. - * + * */ /** File Name: 7.8.2.js @@ -38,7 +38,7 @@ function getTestCases() { var item = 0; // array[item++] = new TestCase( "7.8.2", "{ 1 \n 2 } 3", 3, "{ 1 \n 2 } 3" ); - array[item++] = new TestCase( "7.8.2", "{ 1 2 } 3", "error", "{1 2 } 3" ); + array[item++] = new TestCase( "7.8.2", "{ 1 2 } 3", "error", eval("{1 2 } 3") ); return ( array ); }