Remove Assert.assertThrowsIllegalArgumentException() function.
@@ -149,11 +149,6 @@ public class Asserts extends AssertsBase {
return getFailureMessage(expected, actual, "should not be equal to");
}
- // TODO(b/232178299): remove this method once no IllegalArgumentException is thrown by k2cl tests
- public static void assertThrowsIllegalArgumentException(JsRunnable runnable) {
- assertThrows(IllegalArgumentException.class, runnable);
- }
-
public static void assertThrowsArithmeticException(JsRunnable runnable) {
assertThrows(ArithmeticException.class, runnable);
}
