compatible with engine.io-client 1.4.0 and engine.io-parser 1.1.0

This commit is contained in:
Naoyuki Kanezawa
2014-09-21 20:04:56 +09:00
parent 0609ab3818
commit cf68b944d0
5 changed files with 77 additions and 45 deletions

View File

@@ -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));
}

View File

@@ -3,6 +3,6 @@
"version": "0.0.0",
"private": true,
"dependencies": {
"engine.io": "1.3.1"
"engine.io": "1.4.0"
}
}