Fix broken WebSocket UTF-8 continuation test
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
3a3c5e5df3
commit
9bc9082ff3
|
@ -90,7 +90,7 @@ public class StringMessageSinkTest
|
|||
messageSink.accept(new Frame(OpCode.TEXT, continuationUtf8Payload).setFin(true), callback);
|
||||
callback.block(5, TimeUnit.SECONDS);
|
||||
|
||||
assertThat(endpoint.messages.poll(5, TimeUnit.SECONDS), is('\uD800' + '\uDF48')); // UTF-8 encoded payload.
|
||||
assertThat(endpoint.messages.poll(5, TimeUnit.SECONDS), is("\uD800\uDF48")); // UTF-8 encoded payload.
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue