[Webkit-unassigned] [Bug 135381] New: [webkitpy] Make diff_text generate correct diff if there is no newline at the end of file
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 29 06:11:29 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=135381
Summary: [webkitpy] Make diff_text generate correct diff if
there is no newline at the end of file
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: tmeszaros.u-szeged at partner.samsung.com
If only one line break is the difference between the actual and expected result, the pretty diff will fail.
Example:
actual result:
"A\n\nB"
expected result:
"A\n\nB\n\n\n"
current diff:
"--- exp.txt
+++ act.txt
@@ -1,3 +1,5 @@
A
-B+B
+
+"
expected diff:
"--- exp.txt
+++ act.txt
@@ -1,3 +1,5 @@
A
-B
\ No newline at end of file
+B
+
+"
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list