Error in the test -- it was not evaluating the statement that is supposed

to produce an error.
This commit is contained in:
cbegle%netscape.com 1999-05-11 15:55:22 +00:00
parent 2cf946c1b7
commit 20f8852310

View File

@ -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 );
}