Skip to content

Commit

Permalink
test: improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
zavakid authored and oldratlee committed Sep 3, 2023
1 parent 895e345 commit be14df8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import io.kotest.matchers.shouldBe
private const val NOT_EXISTED = "not_existed_key"

class ConfigSourceTest : AnnotationSpec() {
lateinit var pipeline: ConfigSource
private lateinit var pipeline: ConfigSource

@AfterEach
fun afterEach() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import io.kotest.core.spec.style.AnnotationSpec
import io.kotest.matchers.shouldBe

class RPCTest : AnnotationSpec() {
lateinit var pipeline: RPC
private lateinit var pipeline: RPC


@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import io.kotest.matchers.types.shouldBeTypeOf

class ChannelTest : AnnotationSpec() {

lateinit var pipeline: ChannelPipeline
private lateinit var pipeline: ChannelPipeline

@Test
fun testNoneHandler() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class LoadBalancerTest : AnnotationSpec() {
override fun available(): Boolean = available
}

lateinit var pipeline: LoadBalancer
private lateinit var pipeline: LoadBalancer

@Test
fun testDefaultHandler() {
Expand Down

0 comments on commit be14df8

Please sign in to comment.