fix assert message typo

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1779567 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2017-01-20 05:40:49 +00:00
parent 6aa7fe54e9
commit 93eb933aa6

View File

@ -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);
}
}