Test fixes

This commit is contained in:
dragonmacher 2022-10-13 10:59:52 -04:00
parent 9ee4383886
commit 655a71d1ab

View file

@ -220,7 +220,7 @@ public class EnumDataType extends GenericDataType implements Enum {
if (newLength == length) {
return;
}
if (length < 1 || length > 8) {
if (newLength < 1 || newLength > 8) {
throw new IllegalArgumentException("Enum length must be between 1 and 8 inclusive");
}