This commit is contained in:
Kris De Volder
2020-05-21 15:36:54 -07:00
parent 7ba9c07bc6
commit 42d34a533f
2 changed files with 77 additions and 1 deletions

View File

@@ -90,6 +90,23 @@ public class ApplicationYamlEditorTest extends AbstractPropsEditorTest {
////////////////////////////////////////////////////////////////////////////////////////
@Test public void GH_190_tolerate_placeholders_without_quotes() throws Exception {
//See: https://github.com/spring-projects/sts4/issues/190
data("info.build", "java.util.Map<String,String>", null, null);
Editor editor = harness.newEditor(
"info:\n" +
" build:\n" +
" artifact: @project.artifactId@\n" +
" name: @project.name@\n" +
" description: @project.description@\n" +
" version: @project.version@\n" +
"bad: problem"
);
editor.assertProblems(
"bad|Unknown"
);
}
@Test public void GH_449_inheritedPropertiesInListValues() throws Exception {
//See: https://github.com/spring-projects/sts4/issues/449
MavenJavaProject p = createPredefinedMavenProject("gh_449");