Skip to content

Commit

Permalink
Add one more test case for #190
Browse files Browse the repository at this point in the history
To ensure it works also for integer property.
  • Loading branch information
kdvolder committed May 21, 2020
1 parent 42d34a5 commit e87dee6
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,18 @@ public void cleanups() {
}

////////////////////////////////////////////////////////////////////////////////////////

@Test public void GH_190_tolerate_placeholders_without_quotes_integer() throws Exception {
data("server.port", "java.lang.Integer", null, null);
Editor editor = harness.newEditor(
"server:\n" +
" port: @port@\n" +
"bad: problem"
);
editor.assertProblems(
"bad|Unknown"
);
}

@Test public void GH_190_tolerate_placeholders_without_quotes() throws Exception {
//See: https:/spring-projects/sts4/issues/190
Expand Down

0 comments on commit e87dee6

Please sign in to comment.