summaryrefslogtreecommitdiff
path: root/unittest/examples/todo-t.c
diff options
context:
space:
mode:
authorDavi Arnaut <davi.arnaut@oracle.com>2010-10-20 12:48:19 -0200
committerDavi Arnaut <davi.arnaut@oracle.com>2010-10-20 12:48:19 -0200
commit785bcc173de480cde88081c9b054ee8de72cd1ad (patch)
tree8a7eb61812d8e109fee0ee56d3628ea17b919f61 /unittest/examples/todo-t.c
parent7af5094208edac1dd3af9ba2883f3c91264fbf6a (diff)
parentb5bb13ec0380624c2e663a4e9b4b29fe574b3e05 (diff)
downloadmariadb-git-785bcc173de480cde88081c9b054ee8de72cd1ad.tar.gz
Merge of mysql-5.1-bugteam into mysql-5.5-bugteam.
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();
}