Fix test case
authorLars Knoll <lars.knoll@digia.com>
Thu, 13 Jun 2013 15:44:44 +0000 (17:44 +0200)
committerSimon Hausmann <simon.hausmann@digia.com>
Thu, 13 Jun 2013 16:47:43 +0000 (18:47 +0200)
commitcb8273289848fd1d8ddf9d37327e5211d959595a
treedc1554a41c4a0a480a54031bcedb0d51c245e43a
parent6a4c4ae639abf565d5cdc56a29f51e474abbfaef
Fix test case

The for..in statements behavior is actually undefined when
it comes to inserting values into the object being iterated
over. Simply adjust the test case to the v4 behavior.

Change-Id: I85774ae98810d8c14ee457138ccc54082de47802
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
tests/auto/qml/qjsengine/tst_qjsengine.cpp