mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-20 18:06:08 -05:00
Make bordered() use + for corners if ascii_border=True (#4097)
This commit is contained in:
@@ -55,11 +55,11 @@ def test_bordered_asymmetrical_2():
|
||||
def test_bordered_ascii():
|
||||
expected = textwrap.dedent(
|
||||
"""\
|
||||
---------------- ---------------
|
||||
+--------------+ +-------------+
|
||||
|one | |four |
|
||||
|two | |five |
|
||||
|three | |six |
|
||||
---------------- ---------------"""
|
||||
+--------------+ +-------------+"""
|
||||
)
|
||||
col1, col2 = ["one", "two", "three"], ["four", "five", "six"]
|
||||
assert chat_formatting.bordered(col1, col2, ascii_border=True) == expected
|
||||
|
||||
Reference in New Issue
Block a user