Author: julianfoad
Date: Thu Jul  1 13:26:02 2010
New Revision: 959648

URL: http://svn.apache.org/viewvc?rev=959648&view=rev
Log:
* subversion/tests/libsvn_ra_local/ra-local-test.c
  (split_url_syntax): Remove a check for invalid syntax as that's
    undefined behaviour and not a testable condition.

Modified:
    subversion/trunk/subversion/tests/libsvn_ra_local/ra-local-test.c

Modified: subversion/trunk/subversion/tests/libsvn_ra_local/ra-local-test.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_ra_local/ra-local-test.c?rev=959648&r1=959647&r2=959648&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_ra_local/ra-local-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_ra_local/ra-local-test.c Thu Jul  
1 13:26:02 2010
@@ -146,13 +146,6 @@ split_url_syntax(apr_pool_t *pool)
       (SVN_ERR_TEST_FAILED, NULL,
        "svn_ra_local__split_URL failed to catch bad URL (scheme)");
 
-  /* Use only single slash after scheme */
-  apr_err = try_split_url("file:/path/to/repos", pool);
-  if (apr_err != SVN_ERR_RA_ILLEGAL_URL && apr_err != SVN_ERR_ASSERTION_FAIL)
-    return svn_error_create
-      (SVN_ERR_TEST_FAILED, NULL,
-       "svn_ra_local__split_URL failed to catch bad URL (slashes)");
-
   /* Use only a hostname, with no path */
   apr_err = try_split_url("file://hostname", pool);
   if (apr_err != SVN_ERR_RA_ILLEGAL_URL)


Reply via email to