Skip to content

Commit c974bc3

Browse files
committed
Double column in simple theme
1 parent 939ece4 commit c974bc3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

table2ascii/styles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Styles:
2222
double_thin_compact = TableStyle.from_string("╔═╦═╗║║ ╟─╫─╢ ╚╩═╝")
2323
minimalist = TableStyle.from_string(" ─── │ ━━━ ─── ── ")
2424
borderless = TableStyle.from_string(" ┃ ━ ")
25-
simple = TableStyle.from_string(" ═ ═ ")
25+
simple = TableStyle.from_string(" ═ ═ ")
2626
ascii = TableStyle.from_string("+-+-+|| +-+-++-+-+++-+")
2727
ascii_box = TableStyle.from_string("+-+++|||+-++++-+++++++")
2828
ascii_compact = TableStyle.from_string("+-+-+|| +-+-+ ++-+")

tests/test_styles.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -418,12 +418,12 @@ def test_simple():
418418
)
419419
expected = (
420420
" ═════ ═════ ═════ ═════ ═════ \n"
421-
" # G H R S \n"
421+
" # G H R S \n"
422422
" ═════ ═════ ═════ ═════ ═════ \n"
423-
" 1 30 40 35 30 \n"
424-
" 2 30 40 35 30 \n"
423+
" 1 30 40 35 30 \n"
424+
" 2 30 40 35 30 \n"
425425
" ═════ ═════ ═════ ═════ ═════ \n"
426-
" SUM 130 140 135 130 \n"
426+
" SUM 130 140 135 130 \n"
427427
" ═════ ═════ ═════ ═════ ═════ "
428428
)
429429
assert text == expected

0 commit comments

Comments
 (0)