test case for not_found
This commit is contained in:
parent
f57ae07e4a
commit
cc3f5024e8
1 changed files with 3 additions and 0 deletions
|
@ -87,6 +87,9 @@ START_TEST (test_compile)
|
||||||
|
|
||||||
m = rnode_match( n , "/foo/xxx", strlen("/foo/xxx") );
|
m = rnode_match( n , "/foo/xxx", strlen("/foo/xxx") );
|
||||||
fail_if( NULL == m );
|
fail_if( NULL == m );
|
||||||
|
|
||||||
|
m = rnode_match( n , "/not_found", strlen("/not_found") );
|
||||||
|
fail_if( NULL == m ); // should be the node of "/"
|
||||||
}
|
}
|
||||||
END_TEST
|
END_TEST
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue