]> git.ozlabs.org Git - ccan/blob - ccan/strgrp/test/api_iterate_no_groups.c
strgrp: new module
[ccan] / ccan / strgrp / test / api_iterate_no_groups.c
1 #include "../test/helpers.h"
2
3 int main(void) {
4     struct strgrp *ctx;
5     struct strgrp_iter *iter;
6
7     plan_tests(1);
8     create(ctx, DEFAULT_SIMILARITY);
9     iter = strgrp_iter_new(ctx);
10     ok1(!strgrp_iter_next(iter));
11     strgrp_iter_free(iter);
12     strgrp_free(ctx);
13     return exit_status();
14 }