test case for not_found

This commit is contained in:
c9s 2014-05-16 14:42:05 +08:00
parent f57ae07e4a
commit cc3f5024e8

View file

@ -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