aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-06-13 14:36:32 +0200
committerLars Knoll <lars.knoll@digia.com>2013-06-13 17:47:44 +0200
commite06676db83483d83260f7e04bd1ae2024d8b5030 (patch)
treea2db41a709eb0afabdf6a97feaff34947186bf2a /tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
parent91a835a1731a10e73546057196855b3fa685f95a (diff)
Don't allow for a QJSValue to be taken from one engine to another through QVariant
Change-Id: I21127d22f595b0ff88f6073bddf617423ad17867 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp')
-rw-r--r--tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
index 325deba0ee..9fe4fb736e 100644
--- a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
+++ b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
@@ -3529,7 +3529,7 @@ void tst_qqmlecmascript::signalWithJSValueInVariant_twoEngines()
object->setProperty("compare", compare);
object->setProperty("pass", false);
- QTest::ignoreMessage(QtWarningMsg, "JSValue can't be rassigned to an another engine.");
+ QTest::ignoreMessage(QtWarningMsg, "JSValue can't be reassigned to another engine.");
emit object->signalWithVariant(QVariant::fromValue(value));
QVERIFY(!object->property("pass").toBool());
}