subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1592034 - /subversion/trunk/subversion/tests/libsvn_diff/parse-diff-test.c
Date Fri, 02 May 2014 20:41:48 GMT
Author: stsp
Date: Fri May  2 20:41:48 2014
New Revision: 1592034

URL: http://svn.apache.org/r1592034
Log:
follow-up to r1592014:
Unbreak parse-diff-test 4 "test badly formatted git diff header"

* subversion/tests/libsvn_diff/parse-diff-test.c
  (bad_git_diff_header): Remove 'copy from' and 'copy to' header lines
    which are used as a fallback if a filename cannot be found in the
    git --diff line. Now the test's assumptions are correct again.

Modified:
    subversion/trunk/subversion/tests/libsvn_diff/parse-diff-test.c

Modified: subversion/trunk/subversion/tests/libsvn_diff/parse-diff-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_diff/parse-diff-test.c?rev=1592034&r1=1592033&r2=1592034&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_diff/parse-diff-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_diff/parse-diff-test.c Fri May  2 20:41:48 2014
@@ -132,8 +132,6 @@ static const char *bad_git_diff_header =
   "diff --git foo4 b/foo4"                                              NL
   "diff --git a/foo5 b/foo5"                                            NL
   "random noise"                                                        NL
-  "copy from foo5"                                                      NL
-  "copy to foo5"                                                        NL
   "diff --git a/foo6 b/foo6"                                            NL
   "copy from foo6"                                                      NL
   "random noise"                                                        NL



Mime
View raw message