Fix tests warnings

This commit is contained in:
Alexandre Mutel
2026-09-20 09:46:41 +02:00
parent 237ef72a0f
commit 96b024c2d6

View File

@@ -72,7 +72,7 @@ public class MiscTests
public void GuardsAgainstHighlyNestedNodes(char c, int count, bool parseOnly, bool shouldThrow)
{
var markdown = new string(c, count);
TestDelegate test = parseOnly ? () => Markdown.Parse(markdown) : () => Markdown.ToHtml(markdown);
Action test = parseOnly ? () => Markdown.Parse(markdown) : () => Markdown.ToHtml(markdown);
if (shouldThrow)
{