I would like to use a diff to be able to test the watchlist code by feeding it a diff and finding what definitions are matched. I could create a new diff but it seems better just to re-use this one.
Created attachment 108792 [details] Patch
Attachment 108792 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Tools/ChangeLog', u'Tools/Scripts/webkitpy..." exit_code: 1 Tools/Scripts/webkitpy/common/checkout/diff_test_data.py:34: trailing whitespace [pep8/W291] [5] Tools/Scripts/webkitpy/common/checkout/diff_test_data.py:39: trailing whitespace [pep8/W291] [5] Tools/Scripts/webkitpy/common/checkout/diff_test_data.py:52: trailing whitespace [pep8/W291] [5] Tools/Scripts/webkitpy/common/checkout/diff_test_data.py:60: trailing whitespace [pep8/W291] [5] Tools/Scripts/webkitpy/common/checkout/diff_test_data.py:69: trailing whitespace [pep8/W291] [5] Total errors found: 5 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 108792 [details] Patch Hm... OK. We could also just store this as a .patch file in some new fixtures directory or similar.
(In reply to comment #3) > (From update of attachment 108792 [details]) > Hm... OK. We could also just store this as a .patch file in some new fixtures directory or similar. I need to think about the form for just a little bit but I didn't want it to block my progress at the moment, so I added a FIXME and a bug: https://bugs.webkit.org/show_bug.cgi?id=68904 Committed as http://trac.webkit.org/changeset/96112