Skip to content

Commit

Permalink
Remove unused test print and config
Browse files Browse the repository at this point in the history
  • Loading branch information
dellisd committed Jan 21, 2023
1 parent 9e457b0 commit d3440f1
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2410,7 +2410,7 @@ class YamlReadingTest : DescribeSpec({
host: B
""".trimIndent()

val parser = Yaml(configuration = YamlConfiguration(strictMode = false))
val parser = Yaml.default
val result = parser.decodeFromString(ServerConfig.serializer(), input)

it("decodes the map value as a list using the YamlNode") {
Expand Down Expand Up @@ -2554,7 +2554,6 @@ private object DecodingFromYamlNodeSerializer : KSerializer<DatabaseListing> {
checkNotNull(currentMap)

val list = currentMap.entries.map { (_, value) ->
println(value.path)
decoder.yaml.decodeFromYamlNode(Database.serializer(), value)
}

Expand Down

0 comments on commit d3440f1

Please sign in to comment.