| Index: test/webkit/fast/js/kde/Boolean.js
|
| diff --git a/test/webkit/array-reset-large-index.js b/test/webkit/fast/js/kde/Boolean.js
|
| similarity index 79%
|
| copy from test/webkit/array-reset-large-index.js
|
| copy to test/webkit/fast/js/kde/Boolean.js
|
| index 532d9f0a8e5cea6f866627f11262ac415a07faac..dbc117a72644dbc80249522ff368287fc5b4c5a1 100644
|
| --- a/test/webkit/array-reset-large-index.js
|
| +++ b/test/webkit/fast/js/kde/Boolean.js
|
| @@ -21,15 +21,12 @@
|
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
| // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| -description(
|
| -"This test puts an item in a big index and then tries to change it. It shoudl change successfully."
|
| -);
|
| -
|
| -var array = [];
|
| -array[10001] = 0;
|
| -array[10001] = 5;
|
| -array[10002] = "a";
|
| -array[10002] = "b";
|
| -
|
| -shouldBe('array[10001]', '5');
|
| -shouldBe('array[10002]', '"b"');
|
| +description("KDE JS Test");
|
| +shouldBe("Boolean()", "false");
|
| +shouldBe("Boolean(true)", "true");
|
| +shouldBe("Boolean(false)", "false");
|
| +shouldBe("(new Boolean(true)).valueOf()", "true");
|
| +shouldBe("(new Boolean(false)).valueOf()", "false");
|
| +shouldBe("(new Boolean(Boolean(true))).valueOf()", "true");
|
| +shouldBeTrue("true.valueOf() === true");
|
| +shouldBeTrue("false.toString() === 'false'");
|
|
|