sebthom commented on a change in pull request #3492:
URL: https://github.com/apache/activemq-artemis/pull/3492#discussion_r594607740
##########
File path:
tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/unit/core/postoffice/impl/AddressMapUnitTest.java
##########
@@ -650,7 +650,7 @@ public void testHashA() throws Exception {
SimpleString AHashA = new SimpleString("a.#.a");
underTest.put(AHashA, AHashA);
- assertEquals(1, countMatchingWildcards(new SimpleString("a.b.c.a")));
+ assertEquals(2, countMatchingWildcards(new SimpleString("a.b.c.a")));
Review comment:
Here "#.a" and "a.#.a" are matched against "a.b.c.a". Both should match,
given that as per doc "# match any sequence of zero or more words"
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]