From 69c98656a0e8642bb9a87e046e5ffa1e14464d9e Mon Sep 17 00:00:00 2001 From: Bas Leijdekkers Date: Mon, 10 Mar 2014 18:47:22 +0100 Subject: [PATCH] fix test --- .../ig/numeric/CachedNumberConstructorCallInspectionTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/InspectionGadgets/testsrc/com/siyeh/ig/numeric/CachedNumberConstructorCallInspectionTest.java b/plugins/InspectionGadgets/testsrc/com/siyeh/ig/numeric/CachedNumberConstructorCallInspectionTest.java index 84d93f03993d..3eff4e682919 100644 --- a/plugins/InspectionGadgets/testsrc/com/siyeh/ig/numeric/CachedNumberConstructorCallInspectionTest.java +++ b/plugins/InspectionGadgets/testsrc/com/siyeh/ig/numeric/CachedNumberConstructorCallInspectionTest.java @@ -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);"); } }