diff --git a/language-server/modules/langserver-core/src/test/resources/testng.xml b/language-server/modules/langserver-core/src/test/resources/testng.xml index 0d0f3ae70d23..25234fc32aa5 100644 --- a/language-server/modules/langserver-core/src/test/resources/testng.xml +++ b/language-server/modules/langserver-core/src/test/resources/testng.xml @@ -30,7 +30,7 @@ under the License. - + diff --git a/misc/ballerina-formatter/src/main/java/org/ballerinalang/format/FormatUtil.java b/misc/ballerina-formatter/src/main/java/org/ballerinalang/format/FormatUtil.java index 1ae0e43b7fd6..7545e28ad651 100644 --- a/misc/ballerina-formatter/src/main/java/org/ballerinalang/format/FormatUtil.java +++ b/misc/ballerina-formatter/src/main/java/org/ballerinalang/format/FormatUtil.java @@ -51,6 +51,7 @@ import static org.ballerinalang.compiler.CompilerOptionName.COMPILER_PHASE; import static org.ballerinalang.compiler.CompilerOptionName.EXPERIMENTAL_FEATURES_ENABLED; import static org.ballerinalang.compiler.CompilerOptionName.LOCK_ENABLED; +import static org.ballerinalang.compiler.CompilerOptionName.NEW_PARSER_ENABLED; import static org.ballerinalang.compiler.CompilerOptionName.OFFLINE; import static org.ballerinalang.compiler.CompilerOptionName.PRESERVE_WHITESPACE; import static org.ballerinalang.compiler.CompilerOptionName.PROJECT_DIR; @@ -323,6 +324,7 @@ private static CompilerContext getCompilerContext(Path sourceRootPath) { options.put(LOCK_ENABLED, Boolean.toString(false)); options.put(EXPERIMENTAL_FEATURES_ENABLED, Boolean.toString(true)); options.put(PRESERVE_WHITESPACE, Boolean.toString(true)); + options.put(NEW_PARSER_ENABLED, Boolean.toString(false)); return context; }