Author: sebb
Date: Wed Mar 27 16:00:38 2013
New Revision: 1461679

URL: http://svn.apache.org/r1461679
Log:
Fix test failure comments

Modified:
    
commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java

Modified: 
commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java?rev=1461679&r1=1461678&r2=1461679&view=diff
==============================================================================
--- 
commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java
 (original)
+++ 
commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java
 Wed Mar 27 16:00:38 2013
@@ -285,7 +285,7 @@ public class NumberUtilsTest {
     protected void testCreateFloatFailure(final String str) {
         try {
             final Float value = NumberUtils.createFloat(str);
-            fail("createFloat(blank) failed: " + value);
+            fail("createFloat() should have failed: " + value);
         } catch (final NumberFormatException ex) {
             // empty
         }
@@ -305,7 +305,7 @@ public class NumberUtilsTest {
     protected void testCreateDoubleFailure(final String str) {
         try {
             final Double value = NumberUtils.createDouble(str);
-            fail("createDouble(blank) failed: " + value);
+            fail("createDouble() should have failed: " + value);
         } catch (final NumberFormatException ex) {
             // empty
         }
@@ -325,7 +325,7 @@ public class NumberUtilsTest {
     protected void testCreateIntegerFailure(final String str) {
         try {
             final Integer value = NumberUtils.createInteger(str);
-            fail("createInteger(blank) failed: " + value);
+            fail("createInteger() should have failed: " + value);
         } catch (final NumberFormatException ex) {
             // empty
         }
@@ -345,7 +345,7 @@ public class NumberUtilsTest {
     protected void testCreateLongFailure(final String str) {
         try {
             final Long value = NumberUtils.createLong(str);
-            fail("createLong(blank) failed: " + value);
+            fail("createLong() should have failed: " + value);
         } catch (final NumberFormatException ex) {
             // empty
         }
@@ -377,7 +377,7 @@ public class NumberUtilsTest {
     protected void testCreateBigIntegerFailure(final String str) {
         try {
             final BigInteger value = NumberUtils.createBigInteger(str);
-            fail("createBigInteger(blank) failed: " + value);
+            fail("createBigInteger() should have failed: " + value);
         } catch (final NumberFormatException ex) {
             // empty
         }
@@ -403,7 +403,7 @@ public class NumberUtilsTest {
     protected void testCreateBigDecimalFailure(final String str) {
         try {
             final BigDecimal value = NumberUtils.createBigDecimal(str);
-            fail("createBigDecimal(blank) failed: " + value);
+            fail("createBigDecimal() should have failed: " + value);
         } catch (final NumberFormatException ex) {
             // empty
         }


Reply via email to