changeset 33 | 3e2da88830cd |
parent 30 | 5dc02b23752f |
--- a/tests/auto/declarative/qdeclarativeecmascript/data/function.qml Tue Jul 06 15:10:48 2010 +0300 +++ b/tests/auto/declarative/qdeclarativeecmascript/data/function.qml Wed Aug 18 10:37:55 2010 +0300 @@ -14,6 +14,10 @@ test1 = (func1(4) == 11); test2 = (func2("Hello World!") == Qt.atob("Hello World!")); - test3 = (func3() == undefined); + try { + func3(); + } catch(e) { + test3 = true; + } } }