Skip to content
Myr

Simplify test

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Peter · committed by David Peter · parent 8c05fd0 · Browse files · 1 file+2 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−4 removed

  • other:+2 added−4 removed

1 file+2 added−4 removed

modified:src/export/markdown.rs+2 added-4 removed
39 unmodified lines
40#[test]41fn test_markdown_formatter_table_divider() {42 let formatter = MarkdownExporter::default();4344 let actual = formatter.table_divider(&[Alignment::Left, Alignment::Right, Alignment::Left]);45 let expect = "|:---|---:|:---|\n";4647 assert_eq!(expect, actual);44 let divider = formatter.table_divider(&[Alignment::Left, Alignment::Right, Alignment::Left]);45 assert_eq!(divider, "|:---|---:|:---|\n");46}4748/// Test helper function to create unit-based header and horizontal line49/// independently from the markup functionality for Markdown.
222 unmodified lines