aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpc_help.py
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-07-18 11:13:22 +0200
committerMacroFake <falke.marco@gmail.com>2022-07-18 11:31:36 +0200
commitfae5ce8795080018875227aee8613677f92e99ce (patch)
tree4b54dad97fc8c0847c81e7ed3945d404b3c4f945 /test/functional/rpc_help.py
parentfafab147e7ff41ab1b961349f20a364f6bf847d2 (diff)
downloadbitcoin-fae5ce8795080018875227aee8613677f92e99ce.tar.xz
univalue: Return more detailed type check error messages
Diffstat (limited to 'test/functional/rpc_help.py')
-rwxr-xr-xtest/functional/rpc_help.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/rpc_help.py b/test/functional/rpc_help.py
index 3b6413d4a6..5b7e724728 100755
--- a/test/functional/rpc_help.py
+++ b/test/functional/rpc_help.py
@@ -92,7 +92,7 @@ class HelpRpcTest(BitcoinTestFramework):
assert_raises_rpc_error(-1, 'help', node.help, 'foo', 'bar')
# invalid argument
- assert_raises_rpc_error(-1, 'JSON value is not a string as expected', node.help, 0)
+ assert_raises_rpc_error(-1, "JSON value of type number is not of expected type string", node.help, 0)
# help of unknown command
assert_equal(node.help('foo'), 'help: unknown command: foo')