Skip to content

Commit

Permalink
Internal change.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 565201496
  • Loading branch information
Closure Team authored and copybara-github committed Sep 14, 2023
1 parent 385cd58 commit 4ec9fa9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test/com/google/javascript/jscomp/DiagnosticGroupsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,6 @@ public void lintChecksGroupIsDisjointFromEveryOtherGroup() throws Exception {
@Test
public void conformanceErrorsCannotBeDowngraded() {
for (DiagnosticGroup group : DiagnosticGroups.getRegisteredGroups().values()) {
// TODO: Delete this whole if statement
if (group.getName().equals("checkLevelOffDoNotUseDoNotUseDoNotUseDoNotUseDoNotUse")) {
assertWithMessage("Please update DiagnosticGroupsTest to delete this case")
.that(group.getTypes())
.contains(CheckConformance.CONFORMANCE_ERROR);
continue;
}
assertWithMessage("Group '" + group.getName() + "' should not include JSC_CONFORMANCE_ERROR")
.that(group.getTypes())
.doesNotContain(CheckConformance.CONFORMANCE_ERROR);
Expand Down

0 comments on commit 4ec9fa9

Please sign in to comment.