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 9b94e46 commit d4dbb76Copy full SHA for d4dbb76
src/test/java/spoon/reflect/visitor/DefaultJavaPrettyPrinterTest.java
@@ -121,6 +121,7 @@ public void testParenOptimizationCorrectlyPrintsParenthesesForStatements(String
121
122
private static Launcher createLauncherWithOptimizeParenthesesPrinter() {
123
Launcher launcher = new Launcher();
124
+ launcher.getEnvironment().setComplianceLevel(17);
125
launcher.getEnvironment().setPrettyPrinterCreator(() -> {
126
DefaultJavaPrettyPrinter printer = new DefaultJavaPrettyPrinter(launcher.getEnvironment());
127
printer.setMinimizeRoundBrackets(true);
0 commit comments