From 962e6367a57663cf55a64f367af0d89449d42ea8 Mon Sep 17 00:00:00 2001 From: Zach Levis Date: Sat, 3 Oct 2020 08:33:09 -0700 Subject: [PATCH] kotlin: fix style in test --- .../spongepowered/configurate/kotlin/ObjectMappingTest.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/extra/kotlin/src/test/kotlin/org/spongepowered/configurate/kotlin/ObjectMappingTest.kt b/extra/kotlin/src/test/kotlin/org/spongepowered/configurate/kotlin/ObjectMappingTest.kt index 15e71e73a..932acca14 100644 --- a/extra/kotlin/src/test/kotlin/org/spongepowered/configurate/kotlin/ObjectMappingTest.kt +++ b/extra/kotlin/src/test/kotlin/org/spongepowered/configurate/kotlin/ObjectMappingTest.kt @@ -91,9 +91,11 @@ class ObjectMappingTest { @Test fun `collections are initialized implicitly`() { - val node = CommentedConfigurationNode.root(ConfigurationOptions.defaults() + val node = CommentedConfigurationNode.root( + ConfigurationOptions.defaults() .withImplicitInitialization(true) - .withSerializers { it.registerAnnotatedObjects(objectMapperFactory()) }) + .withSerializers { it.registerAnnotatedObjects(objectMapperFactory()) } + ) val tester = objectMapper().load(node)