KitherRunner commented on code in PR #6659:
URL: https://github.com/apache/rocketmq/pull/6659#discussion_r1183395722
##########
client/src/test/java/org/apache/rocketmq/client/ValidatorsTest.java:
##########
@@ -58,7 +58,7 @@ public void testCheckTopic_HasIllegalCharacters() {
Validators.checkTopic(illegalTopic);
failBecauseExceptionWasNotThrown(MQClientException.class);
} catch (MQClientException e) {
- assertThat(e).hasMessageStartingWith(String.format("The specified
topic[%s] contains illegal characters, allowing only %s", illegalTopic,
"^[%|a-zA-Z0-9_-]+$"));
Review Comment:
that is better
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]