()
| 47 | |
| 48 | |
| 49 | def test_parse_table_multiline_value(): |
| 50 | table = parse_table( |
| 51 | """+---------+--------------+ |
| 52 | | Id | 1 | |
| 53 | | Name | line1 | |
| 54 | | | line2 | |
| 55 | | | line3 | |
| 56 | | Value | c | |
| 57 | +---------+--------------+ |
| 58 | """ |
| 59 | ) |
| 60 | assert table.header is None |
| 61 | assert table.rows == [ |
| 62 | ["Id", "1"], |
| 63 | ["Name", "line1\nline2\nline3"], |
| 64 | ["Value", "c"], |
| 65 | ] |
| 66 | |
| 67 | |
| 68 | def test_parse_table_empty(): |
nothing calls this directly
no test coverage detected