Skip to content

Commit fc8dc13

Browse files
author
Corneil du Plessis
committed
Fix } else
1 parent 189341b commit fc8dc13

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: functions/consumer/elasticsearch-consumer/src/test/java/org/springframework/cloud/fn/consumer/elasticsearch/ElasticsearchConsumerApplicationTests.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,8 @@ public void testBulkIndexingItemFailure() {
248248
if (i < properties.getBatchSize() - 1) {
249249
log.info("elasticsearchConsumer.accept:{}", message);
250250
elasticsearchConsumer.accept(message);
251-
} else {
251+
}
252+
else {
252253
// last invocation
253254
assertThatIllegalStateException()
254255
.isThrownBy(() -> elasticsearchConsumer.accept(message))

0 commit comments

Comments
 (0)