()
| 19 | |
| 20 | |
| 21 | def test_two_columns() -> None: |
| 22 | data = [('Name', 'Age'), ('Alice', '30'), ('Bob', '25')] |
| 23 | result = make_table(data) |
| 24 | lines = result.split('\n') |
| 25 | # fmt: off |
| 26 | assert lines == ['┌───────┬─────┐', |
| 27 | '│ Name │ Age │', |
| 28 | '│ Alice │ 30 │', |
| 29 | '│ Bob │ 25 │', |
| 30 | '└───────┴─────┘'] |
| 31 | # fmt: on |
| 32 | |
| 33 | |
| 34 | def test_long_content_truncation() -> None: |
nothing calls this directly
no test coverage detected