Skip to content

Commit d8da981

Browse files
committed
Fix deprecation in the KotlinFileAggregatorTests.kt
1 parent c992ea7 commit d8da981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-integration-file/src/test/kotlin/org/springframework/integration/kotlin/file/aggregator/KotlinFileAggregatorTests.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class KotlinFileAggregatorTests {
9494

9595
assertThat(receive.payload)
9696
.isInstanceOf(MutableList::class.java)
97-
.containsAll("SECOND LINE", "LAST LINE", "FIRST LINE")
97+
.containsOnly("SECOND LINE", "LAST LINE", "FIRST LINE")
9898
}
9999

100100
@Configuration

0 commit comments

Comments
 (0)