Revert "Promote NewApi to an error again"
This reverts commit c398be808e
.
Reason for revert: Broken the build b/273624365
Change-Id: I87bb4ca7c561cfbc6643501f60b4c00a53201908
This commit is contained in:
@@ -113,7 +113,8 @@ func TestJavaLintUsesCorrectBpConfig(t *testing.T) {
|
||||
t.Error("did not use the correct file for baseline")
|
||||
}
|
||||
|
||||
if !strings.Contains(*sboxProto.Commands[0].Command, "--error_check NewApi") {
|
||||
if !strings.Contains(*sboxProto.Commands[0].Command, "--warning_check NewApi") {
|
||||
// TODO(b/268261262): Change this to check for --error_check
|
||||
t.Error("should check NewApi warnings")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user