Commit fa0f2b4
test: add ToMd table alignment and InlineHtmlBlock tests
Add 7 unit tests to Markdown.fs covering previously untested cases in
Markdown.ToMd serialisation:
- 4 tests for table column alignment markers: left (:---), center
(:---:), right (---:), and default (---) are all correctly emitted.
- 1 test for mixed alignments in a single table.
- 2 tests for InlineHtmlBlock round-trip: verifies that raw HTML blocks
in a document are preserved unchanged by ToMd.
All 352 Markdown tests pass.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent ccb080b commit fa0f2b4
1 file changed
Lines changed: 50 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1406 | 1406 | | |
1407 | 1407 | | |
1408 | 1408 | | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
1409 | 1459 | | |
1410 | 1460 | | |
1411 | 1461 | | |
| |||
0 commit comments