Creates a shared JVM-test module and moves the jackson inlining tests there
This commit is contained in:
@@ -141,6 +141,14 @@ kotlin {
|
||||
}
|
||||
}
|
||||
|
||||
// Must be defined before androidMain and jvmMain
|
||||
val jvmAndroidTest = create("jvmAndroidTest") {
|
||||
dependsOn(commonTest.get())
|
||||
dependencies {
|
||||
implementation(libs.kotlin.test)
|
||||
}
|
||||
}
|
||||
|
||||
jvmMain {
|
||||
dependsOn(jvmAndroid)
|
||||
dependencies {
|
||||
@@ -154,6 +162,7 @@ kotlin {
|
||||
}
|
||||
|
||||
jvmTest {
|
||||
dependsOn(jvmAndroidTest)
|
||||
dependencies {
|
||||
// Bitcoin secp256k1 bindings
|
||||
implementation(libs.secp256k1.kmp.jni.jvm)
|
||||
|
||||
+1
-1
@@ -21,8 +21,8 @@
|
||||
package com.vitorpamplona.quartz.nip01Core.jackson
|
||||
|
||||
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
|
||||
import org.junit.Assert.assertEquals
|
||||
import kotlin.test.Test
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
class InliningTagArrayPrettyPrinterTest {
|
||||
val mapper =
|
||||
Reference in New Issue
Block a user