mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 23:30:46 +00:00
Error in the test -- it was not evaluating the statement that is supposed
to produce an error.
This commit is contained in:
parent
2cf946c1b7
commit
20f8852310
@ -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 );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user