From 79d99e1847f283049205d7b0c8e597a7e75ea7df Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 29 Oct 2015 15:05:09 +0000 Subject: [PATCH] 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. --- .../boot/actuate/autoconfigure/ShellPropertiesTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/ShellPropertiesTests.java b/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/ShellPropertiesTests.java index c4b3af102c6..48d83d61041 100644 --- a/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/ShellPropertiesTests.java +++ b/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/ShellPropertiesTests.java @@ -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