Update RedundantConstNumberRemovalTest to no longer be ignored
Change-Id: I66d36f507fed72fc0dee16a646f040adb8915a70
diff --git a/src/test/java/com/android/tools/r8/ir/optimize/RedundantConstNumberRemovalTest.java b/src/test/java/com/android/tools/r8/ir/optimize/RedundantConstNumberRemovalTest.java
index ffac704..a359ff5 100644
--- a/src/test/java/com/android/tools/r8/ir/optimize/RedundantConstNumberRemovalTest.java
+++ b/src/test/java/com/android/tools/r8/ir/optimize/RedundantConstNumberRemovalTest.java
@@ -22,7 +22,6 @@
import com.android.tools.r8.utils.codeinspector.InstructionSubject;
import com.android.tools.r8.utils.codeinspector.MethodSubject;
import com.google.common.collect.Streams;
-import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
@@ -43,7 +42,6 @@
}
@Test
- @Ignore("b/123284765")
public void test() throws Exception {
String expectedOutput =
StringUtils.lines(
@@ -57,7 +55,7 @@
R8TestRunResult result =
testForR8(backend)
.addInnerClasses(RedundantConstNumberRemovalTest.class)
- .addKeepMainRule(TestClass.class)
+ .addKeepClassAndMembersRules(TestClass.class)
.enableInliningAnnotations()
.run(TestClass.class)
.assertSuccessWithOutput(expectedOutput);