From e888d8f01f89e04bea9bc97433bd1031e01234d7 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Sun, 15 Dec 2019 12:34:19 +0000 Subject: [PATCH] Bumping versions --- .../consul/config/ConsulPropertySourceLocatorFilesTests.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spring-cloud-consul-config/src/test/java/org/springframework/cloud/consul/config/ConsulPropertySourceLocatorFilesTests.java b/spring-cloud-consul-config/src/test/java/org/springframework/cloud/consul/config/ConsulPropertySourceLocatorFilesTests.java index 329c2811..4f9872ea 100644 --- a/spring-cloud-consul-config/src/test/java/org/springframework/cloud/consul/config/ConsulPropertySourceLocatorFilesTests.java +++ b/spring-cloud-consul-config/src/test/java/org/springframework/cloud/consul/config/ConsulPropertySourceLocatorFilesTests.java @@ -112,9 +112,10 @@ public class ConsulPropertySourceLocatorFilesTests { assertFilePropertySourceExists(propertySources, APPLICATION_YML); } - private void assertFilePropertySourceExists(MutablePropertySources propertySources, String name) { + private void assertFilePropertySourceExists(MutablePropertySources propertySources, + String name) { boolean found = propertySources.stream() - .anyMatch(propertySource -> propertySource.getName().endsWith(name)); + .anyMatch(propertySource -> propertySource.getName().endsWith(name)); assertThat(found).as("missing consul filesource: " + name).isTrue(); }