diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2010-12-16 09:26:02 +1000 |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2010-12-16 09:26:02 +1000 |
commit | 8bbdf2bb1f81f5a655e44d1eec14f4170e00a1df (patch) | |
tree | 5ce1dcaf7bb96a934dcba852ce30c534879d0ade /tests | |
parent | 81e09bb0d7bb5b8ce58773f5e9422b3c507006dd (diff) |
Fix expectFail() example and clarify documentation
Diffstat (limited to 'tests')
-rw-r--r-- | tests/qmlexample/tst_basic.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qmlexample/tst_basic.qml b/tests/qmlexample/tst_basic.qml index d905d9b..07d5a9d 100644 --- a/tests/qmlexample/tst_basic.qml +++ b/tests/qmlexample/tst_basic.qml @@ -58,7 +58,7 @@ TestCase { } function test_expecting() { - expectFail("this is the fail we wanted") + expectFail("", "this is the fail we wanted") verify(false) } |