go-pulse/rpc/testdata/invalid-nonobj.js

8 lines
236 B
JavaScript
Raw Normal View History

// This test checks behavior for invalid requests.
--> 1
<-- {"jsonrpc":"2.0","id":null,"error":{"code":-32600,"message":"invalid request"}}
--> null
<-- {"jsonrpc":"2.0","id":null,"error":{"code":-32600,"message":"invalid request"}}