commit: r1647 - neon/trunk/test

joe at manyfish.co.uk joe at manyfish.co.uk
Thu Mar 5 06:49:55 EST 2009


Author: joe
Date: Thu Mar  5 03:49:54 2009
New Revision: 1647

Modified:
   neon/trunk/test/uri-tests.c

Log:
* test/uri-tests.c (resolve): Test API guarantee for resolved ->path.


Modified: neon/trunk/test/uri-tests.c
==============================================================================
--- neon/trunk/test/uri-tests.c	(original)
+++ neon/trunk/test/uri-tests.c	Thu Mar  5 03:49:54 2009
@@ -509,6 +509,8 @@
         ONN("bad pointer was returned", 
             ne_uri_resolve(&base, &relative, &resolved) != &resolved);
 
+        ONN("NULL path after resolve", resolved.path == NULL);
+
         actual = ne_uri_unparse(&resolved);
         
         ONCMP(ts[n].expected, actual, ts[n].relative, "output mismatch");




More information about the neon-commits mailing list