diff options
author | André Bargull <andre.bargull@gmail.com> | 2015-08-07 18:40:21 +0200 |
---|---|---|
committer | André Bargull <andre.bargull@gmail.com> | 2015-08-13 17:50:58 +0200 |
commit | 1b14708467b4cab8055effad884071123637e475 (patch) | |
tree | abf158b9b4b7f97ffd98a4c419c0f00b7d7d5f62 /test/built-ins/Array/prototype/indexOf/15.4.4.14-5-17.js | |
parent | 39b5b7272c0cedb9d55c243dd75e98c263056451 (diff) | |
download | qtdeclarative-testsuites-1b14708467b4cab8055effad884071123637e475.tar.gz |
Replace runTestCase with assert helpers [test/built-ins]
Diffstat (limited to 'test/built-ins/Array/prototype/indexOf/15.4.4.14-5-17.js')
-rw-r--r-- | test/built-ins/Array/prototype/indexOf/15.4.4.14-5-17.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-17.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-17.js index e69de33f2..324d58d54 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-17.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-5-17.js @@ -6,11 +6,6 @@ es5id: 15.4.4.14-5-17 description: > Array.prototype.indexOf - value of 'fromIndex' is a string containing -Infinity -includes: [runTestCase.js] ---*/ -function testcase() { - - return [true].indexOf(true, "-Infinity") === 0; - } -runTestCase(testcase); +assert.sameValue([true].indexOf(true, "-Infinity"), 0, '[true].indexOf(true, "-Infinity")'); |