Skip to content
Snippets Groups Projects

Partially fixed IntelliJ warnings (#361)

Merged Christopher Konkel requested to merge stu207811/theodolite_fork:Kotlin-Warning-Fixes into main
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
@@ -2,6 +2,7 @@ package theodolite.execution.operator
import com.google.gson.Gson
import com.google.gson.GsonBuilder
import groovy.transform.SourceURI
import io.fabric8.kubernetes.client.CustomResourceList
import io.fabric8.kubernetes.client.server.mock.KubernetesServer
import io.quarkus.test.junit.QuarkusTest
@@ -115,6 +116,7 @@ class ControllerTest {
.getDeclaredMethod("getBenchmarks")
method.isAccessible = true
@Suppress("UNCHECKED_CAST")
val result = method.invoke(controller) as List<BenchmarkCRD>
assertEquals(2, result.size)
Loading