You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2011/01/17 16:53:01 UTC

svn commit: r1059960 - /subversion/trunk/subversion/tests/cmdline/svntest/main.py

Author: hwright
Date: Mon Jan 17 15:53:00 2011
New Revision: 1059960

URL: http://svn.apache.org/viewvc?rev=1059960&view=rev
Log:
Fix alignment in the output of 'test.py --list' for suites with more than
100 tests.

* subversion/tests/cmdline/svntest/main.py
  (TestRunner.list): Better justify the test number in list output.

Modified:
    subversion/trunk/subversion/tests/cmdline/svntest/main.py

Modified: subversion/trunk/subversion/tests/cmdline/svntest/main.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svntest/main.py?rev=1059960&r1=1059959&r2=1059960&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svntest/main.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svntest/main.py Mon Jan 17 15:53:00 2011
@@ -1152,12 +1152,12 @@ class TestRunner:
 
   def list(self):
     if options.verbose and self.pred.inprogress:
-      print(" %2d     %-5s  %s [[%s]]" % (self.index,
+      print(" %3d     %-5s  %s [[%s]]" % (self.index,
                                         self.pred.list_mode(),
                                         self.pred.description,
                                         self.pred.inprogress))
     else:
-      print(" %2d     %-5s  %s" % (self.index,
+      print(" %3d     %-5s  %s" % (self.index,
                                    self.pred.list_mode(),
                                    self.pred.description))
     sys.stdout.flush()