You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2012/02/21 11:50:28 UTC

svn commit: r1291704 - /subversion/trunk/subversion/tests/cmdline/diff_tests.py

Author: philip
Date: Tue Feb 21 10:50:28 2012
New Revision: 1291704

URL: http://svn.apache.org/viewvc?rev=1291704&view=rev
Log:
* subversion/tests/cmdline/diff_tests.py
  (diff_base_to_repos): Generate a useful error when the test fails.

Modified:
    subversion/trunk/subversion/tests/cmdline/diff_tests.py

Modified: subversion/trunk/subversion/tests/cmdline/diff_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/diff_tests.py?rev=1291704&r1=1291703&r2=1291704&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/diff_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/diff_tests.py Tue Feb 21 10:50:28 2012
@@ -1169,8 +1169,7 @@ def diff_base_to_repos(sbox):
     if not re_infoline.match(line):
       list2.append(line)
 
-  if list1 != list2:
-    raise svntest.Failure
+  svntest.verify.compare_and_display_lines('', '', list1, list2)
 
 
 #----------------------------------------------------------------------