summaryrefslogtreecommitdiff
path: root/test/built-ins/RegExp
diff options
context:
space:
mode:
authorAndré Bargull <andre.bargull@gmail.com>2015-08-07 18:40:21 +0200
committerAndré Bargull <andre.bargull@gmail.com>2015-08-13 17:50:58 +0200
commit1b14708467b4cab8055effad884071123637e475 (patch)
treeabf158b9b4b7f97ffd98a4c419c0f00b7d7d5f62 /test/built-ins/RegExp
parent39b5b7272c0cedb9d55c243dd75e98c263056451 (diff)
downloadqtdeclarative-testsuites-1b14708467b4cab8055effad884071123637e475.tar.gz
Replace runTestCase with assert helpers [test/built-ins]
Diffstat (limited to 'test/built-ins/RegExp')
-rw-r--r--test/built-ins/RegExp/prototype/lastIndex/15.10.7.5-1.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/built-ins/RegExp/prototype/lastIndex/15.10.7.5-1.js b/test/built-ins/RegExp/prototype/lastIndex/15.10.7.5-1.js
index e30965517..90e2f09b4 100644
--- a/test/built-ins/RegExp/prototype/lastIndex/15.10.7.5-1.js
+++ b/test/built-ins/RegExp/prototype/lastIndex/15.10.7.5-1.js
@@ -4,10 +4,6 @@
/*---
es5id: 15.10.7.5-1
description: RegExp.prototype.lastIndex is of type Undefined
-includes: [runTestCase.js]
---*/
-function testcase() {
- return (typeof(RegExp.prototype.lastIndex)) === 'undefined';
- }
-runTestCase(testcase);
+assert.sameValue(typeof(RegExp.prototype.lastIndex), 'undefined', 'typeof(RegExp.prototype.lastIndex)');