diff options
author | David Fugate <dfugate@microsoft.com> | 2012-01-12 09:43:20 -0800 |
---|---|---|
committer | David Fugate <dfugate@microsoft.com> | 2012-01-12 09:43:20 -0800 |
commit | b359da88bec1a0f9f3592149ebb4665dbba32e54 (patch) | |
tree | 3124a9689a8c2516418a70c83903af3df2fd53a9 | |
parent | 5254b88b29c5def78dc4eb3c73189c72f47ac4fb (diff) |
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.
-rw-r--r-- | test/suite/ch15/15.5/15.5.4/15.5.4.8/S15.5.4.8_A1_T11.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.8/S15.5.4.8_A1_T11.js b/test/suite/ch15/15.5/15.5.4/15.5.4.8/S15.5.4.8_A1_T11.js deleted file mode 100644 index 59034ff8a..000000000 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.8/S15.5.4.8_A1_T11.js +++ /dev/null @@ -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')) ); -} -// -////////////////////////////////////////////////////////////////////////////// - |