//non-compiled with javac: contains different class name by demand of test
package com.puppycrawl.tools.checkstyle.checks.outertypefilename;
/* Config:
 * default
 */
public record IncorrectName(int x, int y, String str) { // violation

}

//non-compiled with javac: contains different class name by demand of test
package com.puppycrawl.tools.checkstyle.checks.outertypefilename;

/* Config:
 * default
 */
public record IncorrectName1(int x, int y, String str) { // violation
}

rename IncorrectName to IncorrectName1 for OuterTypeFilenameCheck for updated UT(#8598)