assert errno == NULL
This commit is contained in:
parent
f670f08639
commit
4c26995e41
1 changed files with 4 additions and 1 deletions
|
@ -107,7 +107,10 @@ START_TEST (test_pcre_patterns_insert)
|
||||||
|
|
||||||
|
|
||||||
char *errstr = NULL;
|
char *errstr = NULL;
|
||||||
r3_tree_compile(n, &errstr);
|
int errno;
|
||||||
|
errno = r3_tree_compile(n, &errstr);
|
||||||
|
assert(errno == 0); // no error
|
||||||
|
|
||||||
// r3_tree_dump(n, 0);
|
// r3_tree_dump(n, 0);
|
||||||
|
|
||||||
node *matched;
|
node *matched;
|
||||||
|
|
Loading…
Reference in a new issue