Fix broken test after change the maximal value of the pid. Part of [#2706]
This commit is contained in:
parent
d82cc29d0c
commit
148b23b28b
@ -39,7 +39,7 @@ public class DefaultChannelIdTest {
|
|||||||
@Test
|
@Test
|
||||||
public void testLongText() {
|
public void testLongText() {
|
||||||
String text = DefaultChannelId.newInstance().asLongText();
|
String text = DefaultChannelId.newInstance().asLongText();
|
||||||
assertTrue(text.matches("^[0-9a-f]{16}-[0-9a-f]{4}-[0-9a-f]{8}-[0-9a-f]{16}-[0-9a-f]{8}$"));
|
assertTrue(text.matches("^[0-9a-f]{16}-[0-9a-f]{8}-[0-9a-f]{8}-[0-9a-f]{16}-[0-9a-f]{8}$"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
Reference in New Issue
Block a user