Skip to content

Commit

Permalink
Fix indentation of EnumWithObfuscatedTest
Browse files Browse the repository at this point in the history
  • Loading branch information
ganadist committed Aug 4, 2021
1 parent 59a8aed commit d8c5fcf
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ public enum Gender {

public void testEnumClassWithObfuscated() {
for (Gender enumConstant: Gender.class.getEnumConstants()) {
try {
Gender.class.getField(enumConstant.name());
fail("Enum is not obfuscated");
} catch (NoSuchFieldException ignore) {
}
try {
Gender.class.getField(enumConstant.name());
fail("Enum is not obfuscated");
} catch (NoSuchFieldException ignore) {
}
}

assertEquals(Gender.MALE, gson.fromJson("\"MAIL\"", Gender.class));
Expand Down

0 comments on commit d8c5fcf

Please sign in to comment.