change test name and remove unnecessary braces

This commit is contained in:
Ryan O'Neill 2015-04-22 18:06:59 -07:00
parent 2506f745f7
commit b45345e3ac
2 changed files with 2 additions and 3 deletions

View File

@ -75,9 +75,8 @@ final class SimpleConfig implements Config, MergeableValue, Serializable {
if (resolved == object)
return this;
else {
else
return new SimpleConfig((AbstractConfigObject) resolved);
}
}
private ConfigValue hasPathPeek(String pathExpression) {

View File

@ -802,7 +802,7 @@ class ConfParserTest extends TestUtils {
}
@Test
def includeWithSubstitutionsInArray() {
def includeWithSubstitutionsFromList() {
val conf = ConfigFactory.parseString("include file(" + jsonQuotedResourceFile("include-from-list") + ")")
val resolved = conf.resolve()