[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] info_tests.py - Fix indentation.

From: Noorul Islam K M <noorul_at_collab.net>
Date: Sun, 10 Jul 2011 20:55:32 +0530

Attached is the patch that fixes indentation in info_tests.py.

Log
[[[

* subversion/tests/cmdline/info_tests.py
  (info_show_exclude): Fix indentation, remove a redundant blank
    line, no functional change.

Patch by: Noorul Islam K M <noorul{_AT_}collab.net>
]]]

Thanks and Regards
Noorul

Index: subversion/tests/cmdline/info_tests.py
===================================================================
--- subversion/tests/cmdline/info_tests.py (revision 1144610)
+++ subversion/tests/cmdline/info_tests.py (working copy)
@@ -449,8 +449,8 @@
 
   expected_info = [{
       'Path' : '.*%siota' % re.escape(os.sep),
- 'Repository Root' : sbox.repo_url,
- 'Repository UUID' : wc_uuid,
+ 'Repository Root' : sbox.repo_url,
+ 'Repository UUID' : wc_uuid,
   }]
   svntest.main.run_svn(None, 'up', '--set-depth', 'exclude', iota)
   svntest.actions.run_and_verify_info(expected_info, iota)
@@ -469,20 +469,17 @@
 
   sbox.simple_rm('iota')
   sbox.simple_commit()
+
+ expected_error = 'svn: E200009: Could not display info for all targets.*'
 
   # Expect error on iota (status = not-present)
- svntest.actions.run_and_verify_svn(None, [],
- 'svn: E200009: Could not display info for all targets.*',
- 'info', iota)
+ svntest.actions.run_and_verify_svn(None, [], expected_error, 'info', iota)
 
   sbox.simple_update()
 
   # Expect error on iota (unversioned)
- svntest.actions.run_and_verify_svn(None, [],
- 'svn: E200009: Could not display info for all targets.*',
- 'info', iota)
+ svntest.actions.run_and_verify_svn(None, [], expected_error, 'info', iota)
 
-
 ########################################################################
 # Run the tests
 
Received on 2011-07-10 17:26:20 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.