summaryrefslogtreecommitdiff
path: root/test/intl402
diff options
context:
space:
mode:
authorAndré Bargull <andre.bargull@gmail.com>2017-05-04 21:13:23 +0200
committerAndré Bargull <andre.bargull@gmail.com>2017-05-04 21:13:23 +0200
commitc63cb39cbb2e151036aea2acfefc84c0d3a0f308 (patch)
treeaa74fb0360d8dc188f28d8ddfc74a7e451e0895d /test/intl402
parent1579764e3773c76b976bba1548739bef68d1e6d4 (diff)
downloadqtdeclarative-testsuites-c63cb39cbb2e151036aea2acfefc84c0d3a0f308.tar.gz
Use assert-lib: intl402/Intl
Diffstat (limited to 'test/intl402')
-rw-r--r--test/intl402/Intl/8.0.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/intl402/Intl/8.0.js b/test/intl402/Intl/8.0.js
index 20a914249..34fe92641 100644
--- a/test/intl402/Intl/8.0.js
+++ b/test/intl402/Intl/8.0.js
@@ -7,6 +7,4 @@ description: Tests that Intl has Object.prototype as its prototype.
author: Norbert Lindenberg
---*/
-if (Object.getPrototypeOf(Intl) !== Object.prototype) {
- $ERROR("Intl doesn't have Object.prototype as its prototype.");
-}
+assert.sameValue(Object.getPrototypeOf(Intl), Object.prototype, "Intl doesn't have Object.prototype as its prototype.");