summaryrefslogtreecommitdiff
path: root/unittest/examples/skip-t.c
diff options
context:
space:
mode:
Diffstat (limited to 'unittest/examples/skip-t.c')
-rw-r--r--unittest/examples/skip-t.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/unittest/examples/skip-t.c b/unittest/examples/skip-t.c
index 092353fcc48..c8c910b31ff 100644
--- a/unittest/examples/skip-t.c
+++ b/unittest/examples/skip-t.c
@@ -18,11 +18,11 @@
int main() {
plan(4);
- ok(1, NULL);
- ok(1, NULL);
+ ok1(1);
+ ok1(1);
SKIP_BLOCK_IF(1, 2, "Example of skipping a few test points in a test") {
- ok(1, NULL);
- ok(1, NULL);
+ ok1(1);
+ ok1(1);
}
return exit_status();
}