watchlist: Suggest corrections for typos and improve error message consistency.
authorlevin@chromium.org <levin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Sep 2011 17:28:05 +0000 (17:28 +0000)
committerlevin@chromium.org <levin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Sep 2011 17:28:05 +0000 (17:28 +0000)
commit184ca1412136b3651edd7eb1409bb2d4fb0ffc62
tree8bb7cc07d24fe3f1229dcd742b9b581c6d6ce252
parent27e2cc7c3eee69123f86f7249ad54cc888ec2d81
watchlist: Suggest corrections for typos and improve error message consistency.
https://bugs.webkit.org/show_bug.cgi?id=68976

Reviewed by Adam Barth.

* Scripts/webkitpy/common/watchlist/watchlistparser.py: Add suggestions
for typos and improve consistency of the error messages.
* Scripts/webkitpy/common/watchlist/watchlistparser_unittest.py: Add tests
and improve the regex that were already present.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/webkitpy/common/watchlist/watchlistparser.py
Tools/Scripts/webkitpy/common/watchlist/watchlistparser_unittest.py