mirror of https://github.com/tc39/test262.git
No way to make S15.5.4.8_A1_T11.js (https://bugs.ecmascript.org/show_bug.cgi?id=30)
valid. Removing it as similar coverage already exists.
This commit is contained in:
parent
5254b88b29
commit
b359da88be
|
@ -1,22 +0,0 @@
|
|||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* String.prototype.lastIndexOf(searchString, position)
|
||||
*
|
||||
* @path ch15/15.5/15.5.4/15.5.4.8/S15.5.4.8_A1_T11.js
|
||||
* @description Instance is Date(0) object
|
||||
*/
|
||||
|
||||
var __instance = new Date(100000000);
|
||||
|
||||
__instance.lastIndexOf = String.prototype.lastIndexOf;
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//CHECK#1
|
||||
if ((__instance.lastIndexOf('1970')) !== 11) {
|
||||
$ERROR('#1: __instance = new Date(0); __instance.lastIndexOf = String.prototype.lastIndexOf; __instance.lastIndexOf(\'1970\') === 11. Actual: '+(__instance.lastIndexOf('1970')) );
|
||||
}
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue