WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 135381
[webkitpy] Make diff_text generate correct diff if there is no newline at the end of file
https://bugs.webkit.org/show_bug.cgi?id=135381
Summary
[webkitpy] Make diff_text generate correct diff if there is no newline at the...
Tibor Mészáros
Reported
2014-07-29 06:11:41 PDT
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 + +"
Attachments
Patch
(2.24 KB, patch)
2014-07-29 06:20 PDT
,
Tibor Mészáros
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from webkit-ews-10 for mac-mountainlion-wk2
(553.84 KB, application/zip)
2014-07-29 07:52 PDT
,
Build Bot
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Tibor Mészáros
Comment 1
2014-07-29 06:20:51 PDT
Created
attachment 235681
[details]
Patch Patch with unit test
Build Bot
Comment 2
2014-07-29 07:52:18 PDT
Comment on
attachment 235681
[details]
Patch
Attachment 235681
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/4533226085285888
New failing tests: media/track/add-and-remove-track.html
Build Bot
Comment 3
2014-07-29 07:52:21 PDT
Created
attachment 235690
[details]
Archive of layout-test-results from webkit-ews-10 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-10 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
WebKit Commit Bot
Comment 4
2014-07-31 09:24:22 PDT
Comment on
attachment 235681
[details]
Patch Clearing flags on attachment: 235681 Committed
r171856
: <
http://trac.webkit.org/changeset/171856
>
WebKit Commit Bot
Comment 5
2014-07-31 09:24:25 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug