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 1
1
/*
2
2
* Copyright 2017-2018 the original author or authors.
3
- * Copyright 2017 the original author or authors.
4
3
*
5
4
* Licensed under the Apache License, Version 2.0 (the "License");
6
5
* you may not use this file except in compliance with the License.
@@ -177,8 +176,8 @@ public void testNoTx() {
177
176
KafkaTemplate <String , String > template = new KafkaTemplate <>(pf );
178
177
template .setDefaultTopic (STRING_KEY_TOPIC );
179
178
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;" );
182
181
}
183
182
184
183
@ Configuration
You can’t perform that action at this time.
0 commit comments