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 2018/07/06 10:30:35 UTC

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

Author: julianfoad
Date: Fri Jul  6 10:30:35 2018
New Revision: 1835228

URL: http://svn.apache.org/viewvc?rev=1835228&view=rev
Log:
Correct the diff test added in r1835188.

It failed on Windows, and worked on Linux only because of another bug
('diff --summarize' reporting 'M' even though the copied file was not in
fact modified).

* subversion/tests/cmdline/diff_tests.py
  (diff_summary_repo_wc_local_copy): Pass the right filename to simple_append().

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=1835228&r1=1835227&r2=1835228&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/diff_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/diff_tests.py Fri Jul  6 10:30:35 2018
@@ -5168,7 +5168,7 @@ def diff_summary_repo_wc_local_copy(sbox
   wc_dir = sbox.wc_dir
 
   sbox.simple_copy('iota', 'iota2')
-  sbox.simple_append('hello\n', 'iota2')
+  sbox.simple_append('iota2', 'hello\n')
   expected_diff = svntest.wc.State(wc_dir, {
     'iota': Item(status='M '),
     })