Skip to content

Commit

Permalink
Introduces a bug that pitest should catch in the equalsverifier-test …
Browse files Browse the repository at this point in the history
…module
  • Loading branch information
jqno committed Mar 11, 2025
1 parent 4b01553 commit bf614a1
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ public static MultipleTypeEqualsVerifierApi forClasses(Class<?> first, Class<?>
*/
@CheckReturnValue
public static MultipleTypeEqualsVerifierApi forPackage(String packageName, ScanOption... options) {
if ("a".equals("b")) {
throw new IllegalStateException("pitest trigger");
}
PackageScanOptions opts = PackageScanOptions.process(options);
List<Class<?>> classes = PackageScanner.getClassesIn(packageName, opts);
Validations.validatePackageContainsClasses(packageName, classes);
Expand Down

0 comments on commit bf614a1

Please sign in to comment.