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:
parent
6aa7fe54e9
commit
93eb933aa6
@ -243,15 +243,15 @@ public final class POITestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void assertBetween(String message, int value, int min, int max) {
|
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);
|
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);
|
value <= max);
|
||||||
}
|
}
|
||||||
public static void assertStrictlyBetween(String message, int value, int min, int 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);
|
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);
|
value < max);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user