summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptcontext
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qscriptcontext')
-rw-r--r--tests/auto/qscriptcontext/tst_qscriptcontext.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/qscriptcontext/tst_qscriptcontext.cpp b/tests/auto/qscriptcontext/tst_qscriptcontext.cpp
index 524fff2..8b3d1d7 100644
--- a/tests/auto/qscriptcontext/tst_qscriptcontext.cpp
+++ b/tests/auto/qscriptcontext/tst_qscriptcontext.cpp
@@ -286,10 +286,8 @@ void tst_QScriptContext::thisObject()
{
QScriptValue obj = eng.newObject();
eng.currentContext()->setThisObject(obj);
- QEXPECT_FAIL("", "Setting this-object of global context doesn't work", Continue);
QVERIFY(eng.currentContext()->thisObject().equals(obj));
eng.currentContext()->setThisObject(QScriptValue());
- QEXPECT_FAIL("", "Setting this-object of global context doesn't work", Continue);
QVERIFY(eng.currentContext()->thisObject().equals(obj));
QScriptEngine eng2;