mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-04 14:54:26 +01:00
lightning-cli: do pretty-printing.
Plugins don't do it right anyway, and we're about to remove it from lightningd. Produces same format as json_pp. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
neil saitug
parent
465065691f
commit
5009d628a3
@@ -232,4 +232,4 @@ def test_utf8_passthrough(node_factory, executor):
|
||||
.format(l1.daemon.lightning_dir),
|
||||
'utf8', 'ナンセンス 1杯']).decode('utf-8')
|
||||
assert '\\u' not in out
|
||||
assert out == '{"utf8": "ナンセンス 1杯"}\n'
|
||||
assert out == '{\n "utf8" : "ナンセンス 1杯"\n}\n'
|
||||
|
||||
Reference in New Issue
Block a user