test: describe the test case name.

This commit is contained in:
Yuansheng 2019-07-21 07:48:11 +08:00
parent 2ad6b4c4f0
commit 845c47907f

View file

@ -6,7 +6,7 @@
#include "r3.h" #include "r3.h"
#include "r3_slug.h" #include "r3_slug.h"
START_TEST (test_routes2s) START_TEST (greedy_pattern)
{ {
R3Node * n = r3_tree_create(10); R3Node * n = r3_tree_create(10);
match_entry * entry; match_entry * entry;
@ -48,7 +48,7 @@ END_TEST
Suite* r3_suite (void) { Suite* r3_suite (void) {
Suite *suite = suite_create("r3 routes2 tests"); Suite *suite = suite_create("r3 routes2 tests");
TCase *tcase = tcase_create("testcase"); TCase *tcase = tcase_create("testcase");
tcase_add_test(tcase, test_routes2s); tcase_add_test(tcase, greedy_pattern);
suite_add_tcase(suite, tcase); suite_add_tcase(suite, tcase);
return suite; return suite;
} }