Fix issue with escape sequences in properties file
See: https://github.com/spring-projects/sts4/issues/314
This commit is contained in:
@@ -5,6 +5,7 @@ languageserver.completion-trigger-characters.spring-boot-properties-yaml: abcdef
|
||||
languageserver.completion-trigger-characters.spring-boot-properties: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.
|
||||
spring.main.banner-mode: off
|
||||
|
||||
#logging.level.org.springframework.ide.vscode.commons.languageserver.util.SimpleLanguageServer=debug
|
||||
#logging.level.org.springframework.ide.vscode.boot.java.utils.SpringIndexerJava=debug
|
||||
#logging.level.org.springframework.ide.vscode.boot.app.SpringSymbolIndex=debug
|
||||
#logging.level.org.springframework.ide.vscode.commons.boot.app.cli.SpringBootApp=off
|
||||
@@ -92,6 +92,22 @@ public class ApplicationPropertiesEditorTest extends AbstractPropsEditorTest {
|
||||
editor.assertProblems("key|extraneous input");
|
||||
}
|
||||
|
||||
@Test public void bug_GH_STS4_314() throws Exception {
|
||||
///See: https://github.com/spring-projects/sts4/issues/314
|
||||
data("my.text", "java.lang.String", null, null);
|
||||
Editor editor;
|
||||
|
||||
editor = newEditor(
|
||||
"my.text=something \\n escapy"
|
||||
);
|
||||
editor.assertProblems(/*NONE*/);
|
||||
|
||||
editor = newEditor(
|
||||
"my.text=something simple"
|
||||
);
|
||||
editor.assertProblems(/*NONE*/);
|
||||
}
|
||||
|
||||
@Test public void bug_158348104() throws Exception {
|
||||
//See: https://www.pivotaltracker.com/story/show/158348104
|
||||
data("spring.activemq.close-timeout", "java.time.Duration", null, null);
|
||||
|
||||
Reference in New Issue
Block a user