mirror of
https://github.com/Textualize/rich.git
synced 2025-08-04 18:18:22 +00:00
layout
This commit is contained in:
parent
9a29b36514
commit
a7fa23dcb3
7 changed files with 71 additions and 62 deletions
|
@ -49,6 +49,6 @@ def test_tree():
|
|||
console.print(layout.tree, height=10)
|
||||
result = capture.get()
|
||||
print(repr(result))
|
||||
expected = "⬇ 'root' (ratio=1) \n├── ⬇ (size=2) \n└── ⬇ (ratio=1) \n"
|
||||
expected = "⬇ 'root' (ratio=1) \n├── ■ (size=2) \n└── ■ (ratio=1) \n"
|
||||
|
||||
assert result == expected
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue