summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptengine/tst_qscriptengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qscriptengine/tst_qscriptengine.cpp')
-rw-r--r--tests/auto/qscriptengine/tst_qscriptengine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qscriptengine/tst_qscriptengine.cpp b/tests/auto/qscriptengine/tst_qscriptengine.cpp
index 896a860..f7dc924 100644
--- a/tests/auto/qscriptengine/tst_qscriptengine.cpp
+++ b/tests/auto/qscriptengine/tst_qscriptengine.cpp
@@ -1054,6 +1054,8 @@ void tst_QScriptEngine::globalObjectProperties()
<< "gc"
<< "version"
<< "print"
+ // JavaScriptCore
+ << "JSON"
;
QSet<QString> actualNames;
{
@@ -1073,7 +1075,6 @@ void tst_QScriptEngine::globalObjectProperties()
remainingNames.remove(name);
}
}
- QEXPECT_FAIL("", "JSC global object has extra properties (JSON and jscprint)", Abort);
QVERIFY(remainingNames.isEmpty());
}