From bc41b0c2a33278489319ff9fa0c0c4c9ca1f7ba1 Mon Sep 17 00:00:00 2001 From: Sergey Nozhenko Date: Thu, 19 Dec 2024 00:44:29 +0300 Subject: [PATCH] Existing test has been extended. --- src/Markdig.Tests/TestSourcePosition.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Markdig.Tests/TestSourcePosition.cs b/src/Markdig.Tests/TestSourcePosition.cs index 746694eb..2a7b8acd 100644 --- a/src/Markdig.Tests/TestSourcePosition.cs +++ b/src/Markdig.Tests/TestSourcePosition.cs @@ -533,13 +533,17 @@ public void TestHtmlEntityInline() [Test] public void TestAbbreviations() { - Check("*[HTML]: Hypertext Markup Language\r\n\r\nLater in a text we are using HTML and it becomes an abbr tag HTML", @" + Check("*[HTML]: Hypertext Markup Language\r\n\r\nLater in a text we are using HTML and it becomes an abbr tag HTML\r\n\r\nHTML abbreviation at the beginning of a line", @" paragraph ( 2, 0) 38-102 container ( 2, 0) 38-102 literal ( 2, 0) 38-66 abbreviation ( 2,29) 67-70 literal ( 2,33) 71-98 abbreviation ( 2,61) 99-102 +paragraph ( 4, 0) 107-150 +container ( 4, 0) 107-150 +abbreviation ( 4, 0) 107-110 +literal ( 4, 4) 111-150 ", "abbreviations"); }