Skip to content

Commit 10d592a

Browse files
committed
spring-kafka: instead of list, use iterable to match
1 parent d805d6a commit 10d592a

File tree

1 file changed

+2
-2
lines changed
  • starters/spring/stove-spring-testing-e2e-kafka/src/main/kotlin/com/trendyol/stove/testing/e2e/kafka

1 file changed

+2
-2
lines changed

starters/spring/stove-spring-testing-e2e-kafka/src/main/kotlin/com/trendyol/stove/testing/e2e/kafka/KafkaSystem.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ class KafkaSystem(
6969
.map {
7070
when (it) {
7171
is String -> it
72-
is List<*> -> (it as List<String>).joinToString(",")
73-
else -> ""
72+
is Iterable<*> -> (it as Iterable<String>).joinToString(",")
73+
else -> it.toString()
7474
}
7575
}.isSome { it.contains(exposedConfiguration.bootstrapServers) }
7676

0 commit comments

Comments
 (0)