Fix indentation of EnumWithObfuscatedTest

This commit is contained in:
YOUNG HO CHA 2021-08-04 12:30:07 +09:00
parent 59a8aedb37
commit d8c5fcf00b

View File

@ -45,11 +45,11 @@ public class EnumWithObfuscatedTest extends TestCase {
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));