aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qjsvalue/tst_qjsvalue.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-06-13 14:11:23 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-06-13 14:15:45 +0200
commit50adb6318a7911c0e276756fdba7924bdd9c7565 (patch)
tree573911d297539cce5eb296f0280a016afd86db60 /tests/auto/qml/qjsvalue/tst_qjsvalue.cpp
parentd7cd508c150e9f3c603d87a0066f32b6a376e7b4 (diff)
Properly implement Object.prototype.__proto__
Change-Id: I5c3247f46cd86020425f6df8674f8bda7410757b Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tests/auto/qml/qjsvalue/tst_qjsvalue.cpp')
-rw-r--r--tests/auto/qml/qjsvalue/tst_qjsvalue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qjsvalue/tst_qjsvalue.cpp b/tests/auto/qml/qjsvalue/tst_qjsvalue.cpp
index 8d1354136a..2b8da26dc9 100644
--- a/tests/auto/qml/qjsvalue/tst_qjsvalue.cpp
+++ b/tests/auto/qml/qjsvalue/tst_qjsvalue.cpp
@@ -1584,7 +1584,7 @@ void tst_QJSValue::getSetPrototype_evalCyclicPrototype()
QJSEngine eng;
QJSValue ret = eng.evaluate("o = { }; p = { }; o.__proto__ = p; p.__proto__ = o");
QCOMPARE(ret.isError(), true);
- QCOMPARE(ret.toString(), QLatin1String("Error: Cyclic __proto__ value"));
+ QCOMPARE(ret.toString(), QLatin1String("TypeError: Cyclic __proto__ value"));
}
void tst_QJSValue::getSetPrototype_eval()