Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
plugins {
id("maven")
id("java")
id("org.jetbrains.kotlin.jvm") version "1.4.10"
id("org.jlleitschuh.gradle.ktlint") version "9.3.0"
id("org.jetbrains.kotlin.jvm") version "1.4.21"
id("org.jlleitschuh.gradle.ktlint") version "9.4.1"
id("jacoco")
}

group = "com.mapk"
version = "0.18"
version = "0.19"

java {
sourceCompatibility = JavaVersion.VERSION_1_8
Expand All @@ -31,14 +31,14 @@ dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
implementation(kotlin("reflect"))
// https://mvnrepository.com/artifact/org.jetbrains/annotations
compileOnly(group = "org.jetbrains", name = "annotations", version = "19.0.0")
compileOnly(group = "org.jetbrains", name = "annotations", version = "20.1.0")

// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter
testImplementation(group = "org.junit.jupiter", name = "junit-jupiter", version = "5.6.2") {
testImplementation(group = "org.junit.jupiter", name = "junit-jupiter", version = "5.7.0") {
exclude(group = "org.junit.vintage", module = "junit-vintage-engine")
}
// https://mvnrepository.com/artifact/io.mockk/mockk
testImplementation("io.mockk:mockk:1.10.0")
testImplementation("io.mockk:mockk:1.10.3-jdk8")
}

tasks {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ class FullInitializedFunctionWrapperTest {
val func = Dst::class.companionObject!!.functions.first { it.name == "of" }
val instance = Dst::class.companionObjectInstance!!
val fullInitializedFunctionWrapper = FullInitializedFunctionWrapper(
func, instance, 3
func,
instance,
3
)
assertEquals(expected, fullInitializedFunctionWrapper.call(arrayOf(instance, 1, "2")))
}
Expand Down