From dbefe7534ee027a8d64ebc1b12ce541f66d234ac Mon Sep 17 00:00:00 2001 From: c9s Date: Mon, 2 Jun 2014 10:12:16 +0800 Subject: [PATCH] replace ck_assert_int_gt --- gen_route_tests.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen_route_tests.rb b/gen_route_tests.rb index e32488c..b7cd17c 100644 --- a/gen_route_tests.rb +++ b/gen_route_tests.rb @@ -41,7 +41,7 @@ paths.each_index do |idx| puts " m = r3_tree_match(n, \"#{path}\", NULL);" puts " ck_assert(m);" puts " ck_assert(m->data == data#{idx});" - puts " ck_assert_int_gt(m->endpoint, 0);" + puts " ck_assert(m->endpoint > 0);" end