summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptvalue
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-07-22 10:50:43 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-07-22 10:59:19 (GMT)
commit5d2ad577a42c8cbdd095ef336dd4275638901d59 (patch)
tree19a6512c5d867ca727eff4de83efdfe52a5c0c4b /tests/auto/qscriptvalue
parentf98debbe7ce8accf746fb3ff9cecfef214451e93 (diff)
downloadQt-5d2ad577a42c8cbdd095ef336dd4275638901d59.zip
Qt-5d2ad577a42c8cbdd095ef336dd4275638901d59.tar.gz
Qt-5d2ad577a42c8cbdd095ef336dd4275638901d59.tar.bz2
fix QScriptValue::isError
Reviewed-by: Kent Hansen
Diffstat (limited to 'tests/auto/qscriptvalue')
-rw-r--r--tests/auto/qscriptvalue/tst_qscriptvalue.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/qscriptvalue/tst_qscriptvalue.cpp b/tests/auto/qscriptvalue/tst_qscriptvalue.cpp
index b0df6fd..ddd846a 100644
--- a/tests/auto/qscriptvalue/tst_qscriptvalue.cpp
+++ b/tests/auto/qscriptvalue/tst_qscriptvalue.cpp
@@ -1653,7 +1653,6 @@ void tst_QScriptValue::isError()
for (int i = 0; i < errors.size(); ++i) {
QScriptValue ctor = eng.globalObject().property(errors.at(i));
QVERIFY(ctor.isFunction());
- QEXPECT_FAIL("", "Error.prototype should itself be an Error object", Continue);
QVERIFY(ctor.property("prototype").isError());
}
QVERIFY(!eng.globalObject().isError());