mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-21 14:04:20 +01:00
cli: restore 0.7.0-style whitespace printing.
@renepickhardt has a shell script we broke. While we still produce perfectly valid JSON, we should not gratuitously change tool output. Plus, I prefer the missing space before the ':'. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
ZmnSCPxj, ZmnSCPxj jxPCSmnZ
parent
2f30cdc731
commit
118150227e
@@ -330,7 +330,7 @@ def test_utf8_passthrough(node_factory, executor):
|
||||
.format(l1.daemon.lightning_dir),
|
||||
'utf8', 'ナンセンス 1杯']).decode('utf-8')
|
||||
assert '\\u' not in out
|
||||
assert out == '{\n "utf8" : "ナンセンス 1杯"\n}\n'
|
||||
assert out == '{\n "utf8": "ナンセンス 1杯"\n}\n'
|
||||
|
||||
|
||||
def test_invoice_payment_hook(node_factory):
|
||||
|
||||
Reference in New Issue
Block a user