check-webkit-style errors when removing .png files
authortony@chromium.org <tony@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Apr 2012 23:54:58 +0000 (23:54 +0000)
committertony@chromium.org <tony@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Apr 2012 23:54:58 +0000 (23:54 +0000)
commit7bc33d8f44f55179907e52dcc1cb198fa01ea23c
treef74b8bf5d1ad10bc546c9880362613bd7cc56b62
parent591da5ee668cbeb5a921abec1bfae29e6ad4cff8
check-webkit-style errors when removing .png files
https://bugs.webkit.org/show_bug.cgi?id=82933

Reviewed by David Levin.

* Scripts/webkitpy/style/patchreader.py:
(PatchReader.check): Make sure the file exists and pass in a FileSystem() object (for mocking).
* Scripts/webkitpy/style/patchreader_unittest.py:
(test_check_patch_with_png_deletion):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112963 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/webkitpy/style/patchreader.py
Tools/Scripts/webkitpy/style/patchreader_unittest.py