Browse Source

Update ShellPropertiesTests to expect whitespace to be trimmed

The latest Spring Framework 4.2.3 snapshots appear to be trimming
whitespace as part of the binding process. This commit updates the
test's expectations accordingly.
pull/3160/merge
Andy Wilkinson 10 years ago
parent
commit
79d99e1847
  1. 2
      spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/ShellPropertiesTests.java

2
spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/ShellPropertiesTests.java

@ -300,7 +300,7 @@ public class ShellPropertiesTests { @@ -300,7 +300,7 @@ public class ShellPropertiesTests {
Properties p = new Properties();
props.applyToCrshShellConfig(p);
assertEquals("role1, role2", p.get("crash.auth.spring.roles"));
assertEquals("role1,role2", p.get("crash.auth.spring.roles"));
}
@Test

Loading…
Cancel
Save