summaryrefslogtreecommitdiff
path: root/unittest/examples/todo-t.c
diff options
context:
space:
mode:
Diffstat (limited to 'unittest/examples/todo-t.c')
-rw-r--r--unittest/examples/todo-t.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/unittest/examples/todo-t.c b/unittest/examples/todo-t.c
index 027d6d6b65e..67bea51965c 100644
--- a/unittest/examples/todo-t.c
+++ b/unittest/examples/todo-t.c
@@ -21,15 +21,15 @@
int main()
{
plan(4);
- ok(1, NULL);
- ok(1, NULL);
+ ok1(1);
+ ok1(1);
/*
Tests in the todo region is expected to fail. If they don't,
something is strange.
*/
todo_start("Need to fix these");
- ok(0, NULL);
- ok(0, NULL);
+ ok1(0);
+ ok1(0);
todo_end();
return exit_status();
}