Skip to content

Commit

Permalink
Bump dependencies, ignore both companion getters and setters.
Browse files Browse the repository at this point in the history
  • Loading branch information
gchallen committed Oct 3, 2021
1 parent 3f195d8 commit 2943291
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import java.util.Properties
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

group = "com.github.cs125-illinois"
version = "2021.9.4"
version = "2021.10.0"

plugins {
kotlin("jvm") version "1.5.31"
Expand All @@ -25,7 +25,7 @@ repositories {
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-reflect:1.5.31")
implementation("io.github.classgraph:classgraph:4.8.117")
implementation("io.github.classgraph:classgraph:4.8.120")
implementation("io.github.kostaskougios:cloning:1.10.3")

testImplementation("io.kotest:kotest-runner-junit5:4.6.3")
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/Solution.kt
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ fun Class<*>.prettyPrint(): String = if (isArray) {

fun Executable.isKotlinCompanionAccessor(): Boolean {
check(declaringClass.isKotlin()) { "Should only check Kotlin classes: ${declaringClass.name}" }
return name.startsWith("access${"$"}get")
return name.startsWith("access${"$"}get") || name.startsWith("access${"$"}set")
}

fun Executable.isDataClassGenerated() = name == "equals" ||
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=2021.9.3
version=2021.9.4
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ fun Solution.doubleTest(klass: Class<*>): TestResults {
first.forEachIndexed { index, firstResult ->
val secondResult = second[index]
submission(klass).compare(firstResult.parameters, secondResult.parameters) shouldBe true
firstResult.runnerID shouldBe secondResult.runnerID
}
return first
}
Expand Down

0 comments on commit 2943291

Please sign in to comment.