You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2011/02/01 14:57:20 UTC
svn commit: r1066046 -
/subversion/trunk/subversion/tests/libsvn_subr/dirent_uri-test.c
Author: rhuijben
Date: Tue Feb 1 13:57:20 2011
New Revision: 1066046
URL: http://svn.apache.org/viewvc?rev=1066046&view=rev
Log:
* subversion/tests/libsvn_subr/dirent_uri-test.c
(test_uri_canonicalize): Following up on r1066019, add a few more
interesting testcases.
Modified:
subversion/trunk/subversion/tests/libsvn_subr/dirent_uri-test.c
Modified: subversion/trunk/subversion/tests/libsvn_subr/dirent_uri-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_subr/dirent_uri-test.c?rev=1066046&r1=1066045&r2=1066046&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_subr/dirent_uri-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_subr/dirent_uri-test.c Tue Feb 1 13:57:20 2011
@@ -837,6 +837,10 @@ test_uri_canonicalize(apr_pool_t *pool)
{ "http://server/%2B", "http://server/+" },
{ "http://server/ ", "http://server/%20" },
{ "http://server/#", "http://server/%23" },
+ { "http://server/d/a%2Fb", "http://server/d/a/b" },
+ /* ### These tests fail to notice that %2F is '/'.
+ { "http://server/d/.%2F.", "http://server/d" },
+ { "http://server/d/%25%2F%25", "http://server/d" }, */
{ "file:///C%3a/temp", "file:///C:/temp" },
{ "http://server/cr%AB", "http://server/cr%AB" },
{ "http://server/cr%ab", "http://server/cr%AB" },