mirror of https://github.com/Textualize/rich.git
add more tests
This commit is contained in:
parent
fd76eba526
commit
a04200b1ed
|
@ -50,8 +50,10 @@ def test_characters():
|
|||
)
|
||||
console.rule(characters="+*")
|
||||
console.rule("foo", characters="+*")
|
||||
console.print(Rule(characters=".,"))
|
||||
expected = "+*+*+*+*+*+*+*+*\n"
|
||||
expected += "+*+*+ foo +*+*++\n"
|
||||
expected += ".,.,.,.,.,.,.,.,\n"
|
||||
assert console.file.getvalue() == expected
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue