Fix broken test after change the maximal value of the pid. Part of [#2706]

This commit is contained in:
Norman Maurer 2014-07-28 10:39:01 -07:00
parent 168e2dde05
commit 750eed1804

View File

@ -39,7 +39,7 @@ public class DefaultChannelIdTest {
@Test
public void testLongText() {
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