You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ne...@apache.org on 2010/07/20 17:23:43 UTC
svn commit: r965877 -
/subversion/trunk/subversion/tests/cmdline/svntest/factory.py
Author: neels
Date: Tue Jul 20 15:23:43 2010
New Revision: 965877
URL: http://svn.apache.org/viewvc?rev=965877&view=rev
Log:
* subversion/tests/cmdline/svntest/factory.py: Add an error check.
Modified:
subversion/trunk/subversion/tests/cmdline/svntest/factory.py
Modified: subversion/trunk/subversion/tests/cmdline/svntest/factory.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svntest/factory.py?rev=965877&r1=965876&r2=965877&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svntest/factory.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svntest/factory.py Tue Jul 20 15:23:43 2010
@@ -660,6 +660,8 @@ class TestFactory:
del runargs[url_arg.argnr]
wc = wc_arg.wc
+ if not wc:
+ raise Failure("Unexpected argument ordering to factory's 'svn switch'?")
pychdir = self.chdir(do_chdir, wc)