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));
|
||||
}
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"engine.io": "1.3.1"
|
||||
"engine.io": "1.4.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user