mirror of
https://github.com/lightbend/config.git
synced 2025-03-19 13:50:40 +08:00
use SimpleConfigObject.empty() in one more spot
This commit is contained in:
parent
c18f10c6dc
commit
795579f952
@ -277,7 +277,7 @@ class ConfigValueTest extends TestUtils {
|
||||
unresolved { dm.unwrapped() }
|
||||
|
||||
// ConfigDelayedMergeObject
|
||||
val emptyObj = new SimpleConfigObject(fakeOrigin(), Collections.emptyMap[String, AbstractConfigValue]())
|
||||
val emptyObj = SimpleConfigObject.empty()
|
||||
val dmo = new ConfigDelayedMergeObject(fakeOrigin(), List[AbstractConfigValue](emptyObj, subst("a"), subst("b")).asJava)
|
||||
assertEquals(ConfigValueType.OBJECT, dmo.valueType())
|
||||
unresolved { dmo.unwrapped() }
|
||||
|
Loading…
Reference in New Issue
Block a user