mirror of https://github.com/Textualize/rich.git
format with black
This commit is contained in:
parent
311b677d36
commit
0d90d99b5e
|
@ -17,9 +17,7 @@ def test_rule():
|
|||
console.rule("foobarbazeggfoobarbazegg")
|
||||
expected = "\x1b[92m────────────────\x1b[0m\n"
|
||||
expected += "\x1b[92m───── \x1b[0mfoo\x1b[92m ──────\x1b[0m\n"
|
||||
expected += (
|
||||
"\x1b[92m───── \x1b[0m\x1b[1mfoo\x1b[0m\x1b[92m ──────\x1b[0m\n"
|
||||
)
|
||||
expected += "\x1b[92m───── \x1b[0m\x1b[1mfoo\x1b[0m\x1b[92m ──────\x1b[0m\n"
|
||||
expected += "\x1b[92m─ \x1b[0mfoobarbazeg…\x1b[92m ─\x1b[0m\n"
|
||||
|
||||
result = console.file.getvalue()
|
||||
|
|
Loading…
Reference in New Issue