mirror of
https://github.com/NationalSecurityAgency/ghidra
synced 2024-10-13 05:33:02 +00:00
Test fixes
This commit is contained in:
parent
9ee4383886
commit
655a71d1ab
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue