summaryrefslogtreecommitdiff
path: root/test/built-ins/Error
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/Error
parent39b5b7272c0cedb9d55c243dd75e98c263056451 (diff)
downloadqtdeclarative-testsuites-1b14708467b4cab8055effad884071123637e475.tar.gz
Replace runTestCase with assert helpers [test/built-ins]
Diffstat (limited to 'test/built-ins/Error')
-rw-r--r--test/built-ins/Error/15.11-1.js6
-rw-r--r--test/built-ins/Error/15.11-2.js6
2 files changed, 2 insertions, 10 deletions
diff --git a/test/built-ins/Error/15.11-1.js b/test/built-ins/Error/15.11-1.js
index 0404c957f..d66d5dc5f 100644
--- a/test/built-ins/Error/15.11-1.js
+++ b/test/built-ins/Error/15.11-1.js
@@ -4,10 +4,6 @@
/*---
es5id: 15.11-1
description: Error - ConversionError has been removed from IE9 standard mode
-includes: [runTestCase.js]
---*/
-function testcase() {
- return typeof ConversionError === "undefined";
- }
-runTestCase(testcase);
+assert.sameValue(typeof ConversionError, "undefined", 'typeof ConversionError');
diff --git a/test/built-ins/Error/15.11-2.js b/test/built-ins/Error/15.11-2.js
index 41f725d12..4bb74dd4e 100644
--- a/test/built-ins/Error/15.11-2.js
+++ b/test/built-ins/Error/15.11-2.js
@@ -4,10 +4,6 @@
/*---
es5id: 15.11-2
description: Error - RegExpError has been removed from IE9 standard mode
-includes: [runTestCase.js]
---*/
-function testcase() {
- return typeof RegExpError === "undefined";
- }
-runTestCase(testcase);
+assert.sameValue(typeof RegExpError, "undefined", 'typeof RegExpError');