poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From one...@apache.org
Subject svn commit: r1779567 - /poi/trunk/src/testcases/org/apache/poi/POITestCase.java
Date Fri, 20 Jan 2017 05:40:49 GMT
Author: onealj
Date: Fri Jan 20 05:40:49 2017
New Revision: 1779567

URL: http://svn.apache.org/viewvc?rev=1779567&view=rev
Log:
fix assert message typo

Modified:
    poi/trunk/src/testcases/org/apache/poi/POITestCase.java

Modified: poi/trunk/src/testcases/org/apache/poi/POITestCase.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/POITestCase.java?rev=1779567&r1=1779566&r2=1779567&view=diff
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/POITestCase.java (original)
+++ poi/trunk/src/testcases/org/apache/poi/POITestCase.java Fri Jan 20 05:40:49 2017
@@ -243,15 +243,15 @@ public final class POITestCase {
     }
     
     public static void assertBetween(String message, int value, int min, int max) {
-        assertTrue(message + ": " + value + " is less than minimum value of " + min,
+        assertTrue(message + ": " + value + " is less than the minimum value of " + min,
                 min <= value);
-        assertTrue(message + ": " + value + " is greater than maximum value of " + max,
+        assertTrue(message + ": " + value + " is greater than the maximum value of " + max,
                 value <= max);
     }
     public static void assertStrictlyBetween(String message, int value, int min, int max)
{
-        assertTrue(message + ": " + value + " is less or equal to than minimum value of "
+ min,
+        assertTrue(message + ": " + value + " is less than or equal to the minimum value
of " + min,
                 min < value);
-        assertTrue(message + ": " + value + " is greater or equal to than maximum value of
" + max,
+        assertTrue(message + ": " + value + " is greater than or equal to the maximum value
of " + max,
                 value < max);
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message