Promote NewApi to an error again

Now that issues have been baselined.

Bug: 268261262
Test: Presubmits
Change-Id: I3a1591d650fc46f67426d0f64162d261a24aa6eb
This commit is contained in:
Cole Faust
2023-03-10 11:22:10 -08:00
parent 03613bbe9a
commit c398be808e
2 changed files with 2 additions and 8 deletions

View File

@@ -113,8 +113,7 @@ func TestJavaLintUsesCorrectBpConfig(t *testing.T) {
t.Error("did not use the correct file for baseline")
}
if !strings.Contains(*sboxProto.Commands[0].Command, "--warning_check NewApi") {
// TODO(b/268261262): Change this to check for --error_check
if !strings.Contains(*sboxProto.Commands[0].Command, "--error_check NewApi") {
t.Error("should check NewApi warnings")
}