From 8bbdf2bb1f81f5a655e44d1eec14f4170e00a1df Mon Sep 17 00:00:00 2001 From: Rhys Weatherley Date: Thu, 16 Dec 2010 09:26:02 +1000 Subject: Fix expectFail() example and clarify documentation --- tests/qmlexample/tst_basic.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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) } -- cgit v1.2.3