summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptvalue
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-07-22 14:48:39 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-07-22 14:48:39 (GMT)
commit1d92e9a243dfdd84483a978e50f1cee6d5f44159 (patch)
tree945b2bb50fa51056af25c19642eaa4a59d0e6378 /tests/auto/qscriptvalue
parentd6c6ac356d2e5dc6af1b368c89124143b161fc4e (diff)
downloadQt-1d92e9a243dfdd84483a978e50f1cee6d5f44159.zip
Qt-1d92e9a243dfdd84483a978e50f1cee6d5f44159.tar.gz
Qt-1d92e9a243dfdd84483a978e50f1cee6d5f44159.tar.bz2
JSC: toString report correct error message
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 2ed6d6f..3c9108b 100644
--- a/tests/auto/qscriptvalue/tst_qscriptvalue.cpp
+++ b/tests/auto/qscriptvalue/tst_qscriptvalue.cpp
@@ -406,7 +406,6 @@ void tst_QScriptValue::toString()
"})()");
QVERIFY(!eng.hasUncaughtException());
QVERIFY(objectObject.isObject());
- QEXPECT_FAIL("", "Should return an error string", Continue);
QCOMPARE(objectObject.toString(), QString::fromLatin1("TypeError: Function.prototype.toString called on incompatible object"));
QVERIFY(eng.hasUncaughtException());
eng.clearExceptions();