After a modification in some .java file for test (example:src/test/resources/openapigenerator/testComplexAnyOf/assets/ApiEnumFieldDTO.java) the IDE modifies the format and indentation of the file.
At the test execution, the generated file content is compared as text with the resource file content and the test fails because of the reformat, the content in resource file is different to generated files content.
After a modification in some .java file for test (example:src/test/resources/openapigenerator/testComplexAnyOf/assets/ApiEnumFieldDTO.java) the IDE modifies the format and indentation of the file.
At the test execution, the generated file content is compared as text with the resource file content and the test fails because of the reformat, the content in resource file is different to generated files content.