diff options
Diffstat (limited to 'tests/auto/qml/qjsengine/tst_qjsengine.cpp')
-rw-r--r-- | tests/auto/qml/qjsengine/tst_qjsengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qml/qjsengine/tst_qjsengine.cpp b/tests/auto/qml/qjsengine/tst_qjsengine.cpp index 935fd53a42..04a93fe436 100644 --- a/tests/auto/qml/qjsengine/tst_qjsengine.cpp +++ b/tests/auto/qml/qjsengine/tst_qjsengine.cpp @@ -4253,9 +4253,9 @@ void tst_QJSEngine::functionToString_data() QTest::addColumn<QString>("expectedString"); QTest::newRow("named function") << QString::fromLatin1("function f() {}; f.toString()") - << QString::fromLatin1("function f() { [code] }"); + << QString::fromLatin1("function f() { [native code] }"); QTest::newRow("anonymous function") << QString::fromLatin1("(function() {}).toString()") - << QString::fromLatin1("function() { [code] }"); + << QString::fromLatin1("function() { [native code] }"); } // Tests that function.toString() prints the function's name. |