aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/testdata/reqresp-noparam.js
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/testdata/reqresp-noparam.js')
-rw-r--r--rpc/testdata/reqresp-noparam.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpc/testdata/reqresp-noparam.js b/rpc/testdata/reqresp-noparam.js
new file mode 100644
index 000000000..2edf486d9
--- /dev/null
+++ b/rpc/testdata/reqresp-noparam.js
@@ -0,0 +1,4 @@
+// This test checks that calls with no parameters work.
+
+--> {"jsonrpc":"2.0","method":"test_noArgsRets","id":3}
+<-- {"jsonrpc":"2.0","id":3,"result":null}