Index: tools/push-to-trunk/test_scripts.py |
diff --git a/tools/push-to-trunk/test_scripts.py b/tools/push-to-trunk/test_scripts.py |
index acb28a097c70ec6f485521c979e5256feb64102e..1fd204d47860899431504aae507e9caa1b4b65a2 100644 |
--- a/tools/push-to-trunk/test_scripts.py |
+++ b/tools/push-to-trunk/test_scripts.py |
@@ -103,6 +103,17 @@ class ToplevelTest(unittest.TestCase): |
" Title text 3 (Chromium issue 1234).\n\n", |
MakeChangeLogBody(commits, True)) |
+ def testRegressWrongLogEntryOnTrue(self): |
+ body = """ |
+Check elimination: Learn from if(CompareMap(x)) on true branch. |
+ |
+BUG= |
+R=verwaest@chromium.org |
+ |
+Committed: https://code.google.com/p/v8/source/detail?r=18210 |
+""" |
+ self.assertEquals("", MakeChangeLogBody([["title", body, "author"]], True)) |
+ |
def testMakeChangeLogBugReferenceEmpty(self): |
self.assertEquals("", MakeChangeLogBugReference("")) |
self.assertEquals("", MakeChangeLogBugReference("LOG=")) |