File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
spring-kafka/src/test/java/org/springframework/kafka/core Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 11/*
22 * Copyright 2017-2018 the original author or authors.
3- * Copyright 2017 the original author or authors.
43 *
54 * Licensed under the Apache License, Version 2.0 (the "License");
65 * you may not use this file except in compliance with the License.
@@ -177,8 +176,8 @@ public void testNoTx() {
177176 KafkaTemplate <String , String > template = new KafkaTemplate <>(pf );
178177 template .setDefaultTopic (STRING_KEY_TOPIC );
179178 assertThatThrownBy (() -> template .send ("foo" , "bar" ))
180- .isInstanceOf (IllegalStateException .class )
181- .hasMessageContaining ("No transaction is in process;" );
179+ .isInstanceOf (IllegalStateException .class )
180+ .hasMessageContaining ("No transaction is in process;" );
182181 }
183182
184183 @ Configuration
You can’t perform that action at this time.
0 commit comments