Polishing
This commit is contained in:
@@ -284,7 +284,7 @@ public abstract class TestPropertySourceUtils {
|
||||
catch (Exception ex) {
|
||||
throw new IllegalStateException("Failed to load test environment property from [" + pair + "]", ex);
|
||||
}
|
||||
Assert.state(props.size() == 1, "Failed to load exactly one test environment property from [" + pair + "]");
|
||||
Assert.state(props.size() == 1, () -> "Failed to load exactly one test environment property from [" + pair + "]");
|
||||
for (String name : props.stringPropertyNames()) {
|
||||
map.put(name, props.getProperty(name));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user