mirror of
https://github.com/Textualize/rich.git
synced 2025-08-04 18:18:22 +00:00
version bump
This commit is contained in:
parent
6dea513447
commit
f03b9b7fd8
9 changed files with 81 additions and 12 deletions
|
@ -31,7 +31,7 @@ def test_rich_print():
|
|||
def test_rich_print_json():
|
||||
console = rich.get_console()
|
||||
with console.capture() as capture:
|
||||
rich.print_json('[false, true, null, "foo"]')
|
||||
rich.print_json('[false, true, null, "foo"]', indent=4)
|
||||
result = capture.get()
|
||||
print(repr(result))
|
||||
expected = '[\n false,\n true,\n null,\n "foo"\n]\n'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue