Test would pass PO with addition of PONG processing

This commit is contained in:
Derek Collison
2013-02-05 17:54:09 -08:00
parent 1e7c43e9b5
commit b0c606fbb5

View File

@@ -233,7 +233,7 @@ func TestShouldFail(t *testing.T) {
t.Fatal("Should have received a parse error")
}
c.state = OP_START
if err := c.parse([]byte("Po")) ; err == nil {
if err := c.parse([]byte("POO")) ; err == nil {
t.Fatal("Should have received a parse error")
}
c.state = OP_START