It is valid to have empty modified_lines list for files that only contain deletions. In such case we should skip all the errors except for forced rules. Updated the test to match the expectation. Change-Id: I6993968b882fb6fbe2ba1f63f3b6879c3308ff34
Additionally, this CL adds basic tests. Bug: 25852971 Change-Id: Ia8a62e0d49428e1d933d2cef832c977e62f9c614 (cherry picked from commit 55e7480eff)
55e7480eff