aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases
diff options
context:
space:
mode:
authorJaven O'Neal <onealj@apache.org>2017-01-20 05:40:49 +0000
committerJaven O'Neal <onealj@apache.org>2017-01-20 05:40:49 +0000
commit7ac29f94cfb5455a857c22c23d610bcf78d58447 (patch)
tree297031e4c874f968ea834c8366f83b362d6b17bd /src/testcases
parent0a3195180c883df3ac3a28c667c469a0f5c5788a (diff)
downloadpoi-7ac29f94cfb5455a857c22c23d610bcf78d58447.tar.gz
poi-7ac29f94cfb5455a857c22c23d610bcf78d58447.zip
fix assert message typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1779567 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases')
-rw-r--r--src/testcases/org/apache/poi/POITestCase.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcases/org/apache/poi/POITestCase.java b/src/testcases/org/apache/poi/POITestCase.java
index 55c7f99692..3664da686e 100644
--- a/src/testcases/org/apache/poi/POITestCase.java
+++ b/src/testcases/org/apache/poi/POITestCase.java
@@ -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);
}
}