From 43ba905a66071e38cc23b67d2f69e647c70f895f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Sep 2024 14:36:16 +0000 Subject: [PATCH] Bump com.lemonappdev:konsist from 0.15.1 to 0.16.0 (#14) --- .../kotlin/com/walkertribe/ian/protocol/PacketKonsistTest.kt | 3 ++- gradle/libs.versions.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/IAN/packets/konsist/src/test/kotlin/com/walkertribe/ian/protocol/PacketKonsistTest.kt b/IAN/packets/konsist/src/test/kotlin/com/walkertribe/ian/protocol/PacketKonsistTest.kt index 6e7f07dc..cc53ca3c 100644 --- a/IAN/packets/konsist/src/test/kotlin/com/walkertribe/ian/protocol/PacketKonsistTest.kt +++ b/IAN/packets/konsist/src/test/kotlin/com/walkertribe/ian/protocol/PacketKonsistTest.kt @@ -9,6 +9,7 @@ import com.lemonappdev.konsist.api.ext.list.withParentOf import com.lemonappdev.konsist.api.ext.list.withRepresentedTypeOf import com.lemonappdev.konsist.api.ext.list.withTopLevel import com.lemonappdev.konsist.api.ext.provider.hasAnnotationOf +import com.lemonappdev.konsist.api.ext.provider.hasParentOf import com.lemonappdev.konsist.api.verify.assertFalse import com.lemonappdev.konsist.api.verify.assertTrue import com.walkertribe.ian.protocol.core.SimpleEventPacket @@ -56,7 +57,7 @@ class PacketKonsistTest : DescribeSpec({ }, classes.withAnnotationOf(PacketType::class) ) { packetClass -> - packetClass.assertTrue { it.hasParentWithName("Packet.Server") } + packetClass.assertTrue { it.hasParentOf() } } } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index bd880f49..330227df 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -24,7 +24,7 @@ gradle-pitest = "1.15.0" junit = "4.13.2" koin = "3.5.6" koin-annotations = "1.3.1" -konsist = "0.15.1" +konsist = "0.16.0" korlibs = "6.0.0-alpha2" kotest = "5.9.1" kotest-koin = "1.3.0"