Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
MihailsKuzminsDG committed Sep 15, 2024
1 parent 8aac0c7 commit df1f79c
Showing 1 changed file with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,24 @@ public void RenderTableWithWeirdFormat()
"| Row 5, Col 1 | | return name |\n" +
"| | | \u0060\u0060\u0060 |";

const string expected = "";
const string expected =
"""
<article class='mud-markdown-body'>
<h3 id='my-table' class='mud-typography mud-typography-h3'>My Table:</h3>
<p class='mud-typography mud-typography-body1'>
<div class='markdown-error'>
| **Column 1** | **Column 2** | **Column 3** |
|--------------|----------------|-----------------------------|
| Row 1, Col 1 | Row 1, Col 2 | |
| | Row 2, Col 2 | Row 2, Col 3 |
| Row 3, Col 1 | | ```python |
| | Row 4, Col 2 | def greet(name): |
| Row 5, Col 1 | | return name |
| | | ``` |
</div>
</p>
</article>
""";

using var fixture = CreateFixture(value);
fixture.MarkupMatches(expected);
Expand Down

0 comments on commit df1f79c

Please sign in to comment.