- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestMalformedInput (0.36 sec)
-
src/net/rpc/jsonrpc/all_test.go
t.Errorf("Array: expected no error but got string %q", err.Error()) } if e := [1]int{arg}; !reflect.DeepEqual(replyArray, e) { t.Errorf("Array: expected %v got %v", e, replyArray) } } func TestMalformedInput(t *testing.T) { cli, srv := net.Pipe() go cli.Write([]byte(`{id:1}`)) // invalid json ServeConn(srv) // must return, not loop } func TestMalformedOutput(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 01:09:53 UTC 2022 - 7.8K bytes - Viewed (0)