summaryrefslogtreecommitdiff
path: root/java/lint_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'java/lint_test.go')
-rw-r--r--java/lint_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/java/lint_test.go b/java/lint_test.go
index b7e6aad8e..11c999cea 100644
--- a/java/lint_test.go
+++ b/java/lint_test.go
@@ -91,9 +91,8 @@ 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
- t.Error("should check NewApi warnings")
+ if !strings.Contains(*sboxProto.Commands[0].Command, "--error_check NewApi") {
+ t.Error("should check NewApi errors")
}
if !strings.Contains(*sboxProto.Commands[0].Command, "--error_check SomeCheck") {