From c0612a4557dc5e79bd4c1f941971b5a9ef1e2322 Mon Sep 17 00:00:00 2001 From: Kent Hansen Date: Thu, 9 Jul 2009 12:49:48 +0200 Subject: mark a few expected failures --- tests/auto/qscriptcontext/tst_qscriptcontext.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/auto/qscriptcontext/tst_qscriptcontext.cpp b/tests/auto/qscriptcontext/tst_qscriptcontext.cpp index 3fc60df..cdbb089 100644 --- a/tests/auto/qscriptcontext/tst_qscriptcontext.cpp +++ b/tests/auto/qscriptcontext/tst_qscriptcontext.cpp @@ -527,12 +527,15 @@ void tst_QScriptContext::lineNumber() QScriptValue result = eng.evaluate("try { eval(\"foo = 123;\\n this[is{a{syntax|error@#$%@#% \"); } catch (e) { e.lineNumber; }", "foo.qs", 123); QVERIFY(!eng.hasUncaughtException()); + QEXPECT_FAIL("", "error.lineNumber is error.line in JSC", Continue); QVERIFY(result.isNumber()); + QEXPECT_FAIL("", "error.lineNumber is error.line in JSC", Continue); QCOMPARE(result.toInt32(), 124); result = eng.evaluate("foo = 123;\n bar = 42\n0 = 0"); QVERIFY(eng.hasUncaughtException()); QCOMPARE(eng.uncaughtExceptionLineNumber(), 3); + QEXPECT_FAIL("", "error.lineNumber is error.line in JSC", Continue); QCOMPARE(result.property("lineNumber").toInt32(), 3); } -- cgit v0.12