From 750eed1804515c43e1ba60d8a1a927ea745424fc Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Mon, 28 Jul 2014 10:39:01 -0700 Subject: [PATCH] Fix broken test after change the maximal value of the pid. Part of [#2706] --- .../src/test/java/io/netty/channel/DefaultChannelIdTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/src/test/java/io/netty/channel/DefaultChannelIdTest.java b/transport/src/test/java/io/netty/channel/DefaultChannelIdTest.java index 3a2cee35c7..699d3a1fed 100644 --- a/transport/src/test/java/io/netty/channel/DefaultChannelIdTest.java +++ b/transport/src/test/java/io/netty/channel/DefaultChannelIdTest.java @@ -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