mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-16 11:04:42 -07:00
Test would pass PO with addition of PONG processing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user