Make presumbit warnings ignore symbols that start with UNIT_TEST

UNIT_TEST_MODE was being flagged as use of UNIT_TEST on a cc file.

NOTRY=true
[email protected]
BUG=

Review URL: https://codereview.chromium.org/60573010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235987 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 2836a98..33e13a58 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -296,7 +296,7 @@
       continue
 
     for line_num, line in f.ChangedContents():
-      if 'UNIT_TEST' in line:
+      if 'UNIT_TEST ' in line or line.endswith('UNIT_TEST'):
         problems.append('    %s:%d' % (f.LocalPath(), line_num))
 
   if not problems: