Skip to content

Commit e9aac98

Browse files
author
Roman Levytskyi
committed
Fixing ConsulClusteredAsyncMapTest::testMapPutGetDoubleSlash.
1 parent cdb4bac commit e9aac98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/io/vertx/core/shareddata/ConsulClusteredAsyncMapTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public void testMapPutGetDoubleSlash() {
7777
assertNotNull(asyncMapHandler.result());
7878
asyncMapHandler.result().put("//key", "value", handler -> {
7979
assertTrue(handler.failed());
80-
assertEquals("Moved Permanently", handler.cause().getMessage());
80+
assertTrue(handler.cause().getMessage().contains("Moved Permanently"));
8181
complete();
8282
});
8383
});

0 commit comments

Comments
 (0)