Skip to content

Commit 7a2e5f3

Browse files
Fix asciidoc tests and docs accordingly
1 parent 3fdc130 commit 7a2e5f3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ format:
501501

502502
```pycon
503503
>>> print(tabulate(table, headers, tablefmt="asciidoc"))
504-
[cols="8<,7>",options="header"]
504+
[cols="<8,>7",options="header"]
505505
|====
506506
| item | qty
507507
| spam | 42

test/test_output.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2101,7 +2101,7 @@ def test_asciidoc():
21012101
"Output: asciidoc with headers"
21022102
expected = "\n".join(
21032103
[
2104-
'[cols="11<,11>",options="header"]',
2104+
'[cols="<11,>11",options="header"]',
21052105
"|====",
21062106
"| strings | numbers ",
21072107
"| spam | 41.9999 ",
@@ -2117,7 +2117,7 @@ def test_asciidoc_headerless():
21172117
"Output: asciidoc without headers"
21182118
expected = "\n".join(
21192119
[
2120-
'[cols="6<,10>"]',
2120+
'[cols="<6,>10"]',
21212121
"|====",
21222122
"| spam | 41.9999 ",
21232123
"| eggs | 451 ",

0 commit comments

Comments
 (0)