This commit is contained in:
Bas Leijdekkers
2014-03-10 20:12:51 +01:00
parent e5d9dff7c0
commit 69c98656a0
@@ -28,6 +28,6 @@ public class CachedNumberConstructorCallInspectionTest extends LightInspectionTe
}
public void testSimple() { doStatementTest("new /*Number constructor call with primitive argument*/Integer/**/(1);"); }
public void testStringArgument() { doStatementTest("new /*Number constructor call with primitive argument*/Double/**/(\"1.0\");"); }
public void testStringArgument() { doStatementTest("new /*Number constructor call with primitive argument*/Byte/**/(\"1\");"); }
public void testNoWarn() { doStatementTest("Long.valueOf(1L);"); }
}