From f9caade3cc3b25e35c12e7ebb1766bd9c9c369d1 Mon Sep 17 00:00:00 2001 From: Christian Dupuis Date: Mon, 4 Nov 2013 17:43:06 +0100 Subject: [PATCH] Fix test assertion --- .../boot/actuate/properties/CrshPropertiesTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/properties/CrshPropertiesTests.java b/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/properties/CrshPropertiesTests.java index d00cabcf2f..0a8ee246c2 100644 --- a/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/properties/CrshPropertiesTests.java +++ b/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/properties/CrshPropertiesTests.java @@ -92,7 +92,7 @@ public class CrshPropertiesTests { binder.bind(new MutablePropertyValues(Collections.singletonMap("shell.config_path_patterns", "pattern1, pattern2"))); assertFalse(binder.getBindingResult().hasErrors()); - assertEquals(2, props.getConfigPathPatterns().length, 2); + assertEquals(2, props.getConfigPathPatterns().length); Assert.assertArrayEquals(new String[] { "pattern1", "pattern2" }, props.getConfigPathPatterns()); } @@ -104,7 +104,7 @@ public class CrshPropertiesTests { binder.bind(new MutablePropertyValues(Collections.singletonMap("shell.disabled_plugins", "pattern1, pattern2"))); assertFalse(binder.getBindingResult().hasErrors()); - assertEquals(2, props.getDisabledPlugins().length, 2); + assertEquals(2, props.getDisabledPlugins().length); assertArrayEquals(new String[] { "pattern1", "pattern2" }, props.getDisabledPlugins()); }