Fix broken test after change the maximal value of the pid. Part of [#2706]
This commit is contained in:
parent
168e2dde05
commit
750eed1804
@ -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