()
| 30 | |
| 31 | |
| 32 | def test_parse_table_vertical(): |
| 33 | table = parse_table( |
| 34 | """+---------+--------------+ |
| 35 | | Id | 1 | |
| 36 | | Name | 2 | |
| 37 | | Value | c | |
| 38 | +---------+--------------+ |
| 39 | """ |
| 40 | ) |
| 41 | assert table.header is None |
| 42 | assert table.rows == [ |
| 43 | ["Id", "1"], |
| 44 | ["Name", "2"], |
| 45 | ["Value", "c"], |
| 46 | ] |
| 47 | |
| 48 | |
| 49 | def test_parse_table_multiline_value(): |
nothing calls this directly
no test coverage detected