From 2d0763ebb6c6aa9584b3590506c5f0643feb1186 Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Wed, 23 Dec 2020 16:17:30 -0500 Subject: [PATCH] GH-1289: Fix whitespace in test --- .../RabbitTemplatePublisherCallbacksIntegrationTests2.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-rabbit/src/test/java/org/springframework/amqp/rabbit/core/RabbitTemplatePublisherCallbacksIntegrationTests2.java b/spring-rabbit/src/test/java/org/springframework/amqp/rabbit/core/RabbitTemplatePublisherCallbacksIntegrationTests2.java index db455e0d..36cbc991 100644 --- a/spring-rabbit/src/test/java/org/springframework/amqp/rabbit/core/RabbitTemplatePublisherCallbacksIntegrationTests2.java +++ b/spring-rabbit/src/test/java/org/springframework/amqp/rabbit/core/RabbitTemplatePublisherCallbacksIntegrationTests2.java @@ -133,11 +133,11 @@ public class RabbitTemplatePublisherCallbacksIntegrationTests2 { SimpleRoutingConnectionFactory rcf = new SimpleRoutingConnectionFactory(); rcf.setDefaultTargetConnectionFactory(this.connectionFactoryWithConfirmsEnabled); this.templateWithConfirmsEnabled.setConnectionFactory(rcf); - assertThat(this.templateWithConfirmsEnabled.invoke(template -> { + assertThat(this.templateWithConfirmsEnabled.invoke(template -> { template.convertAndSend("", ROUTE2, "foo"); template.waitForConfirmsOrDie(10_000); return true; - })).isTrue(); + })).isTrue(); } private void assertMessageCountEquals(long wanted) throws InterruptedException {