You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2022/02/18 15:12:58 UTC

svn commit: r1898186 - /subversion/trunk/subversion/tests/cmdline/svntest/verify.py

Author: julianfoad
Date: Fri Feb 18 15:12:57 2022
New Revision: 1898186

URL: http://svn.apache.org/viewvc?rev=1898186&view=rev
Log:
* subversion/tests/cmdline/svntest/verify.py
  (RegexListOutput): Improve consistency of the display of differences.

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

Modified: subversion/trunk/subversion/tests/cmdline/svntest/verify.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svntest/verify.py?rev=1898186&r1=1898185&r2=1898186&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svntest/verify.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svntest/verify.py Fri Feb 18 15:12:57 2022
@@ -298,7 +298,7 @@ class RegexListOutput(ExpectedOutput):
                     (len(self.expected), len(actual)))
       for e, a in itertools.zip_longest(self.expected_res, actual):
         if e is not None and a is not None and regex_fullmatch(e, a):
-          logger.warn("|  " + a.rstrip())
+          logger.warn("|  " + repr(a))
         else:
           if e is not None:
             logger.warn("| -" + repr(e.pattern))