compatible with engine.io-client 1.4.0 and engine.io-parser 1.1.0
This commit is contained in:
@@ -171,7 +171,7 @@ public class ParserTest {
|
||||
|
||||
@Test
|
||||
public void decodeInvalidUTF8() {
|
||||
Packet<String> p = decodePacket("4\uffff");
|
||||
Packet<String> p = decodePacket("4\uffff", true);
|
||||
assertThat(p.type, is(Packet.ERROR));
|
||||
assertThat(p.data, is(ERROR_DATA));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user