We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb1fb37 commit d8125c4Copy full SHA for d8125c4
src/main/java/com/code_intelligence/jazzer/mutation/mutator/collection/ArrayMutatorFactory.java
@@ -86,6 +86,11 @@ private static final class ArrayMutator<T> extends SerializingMutator<T[]> {
86
require(
87
minLength >= 0,
88
format("WithLength#min=%d needs to be greater than or equal to 0", minLength));
89
+ require(
90
+ minLength <= maxLength,
91
+ format(
92
+ "WithLength#min=%d needs to be smaller or equal than WithLength#max=%d",
93
+ minLength, maxLength));
94
}
95
96
@Override
0 commit comments