Skip to content

Commit 3cbd08f

Browse files
committed
test: additional comment test cases for forward searching node matcher
1 parent 5364783 commit 3cbd08f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/AngleSharp.Diffing.Tests/Strategies/NodeStrategies/ForwardSearchingNodeMatcherTest.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@ public ForwardSearchingNodeMatcherTest(DiffingTestFixture fixture) : base(fixtur
1717

1818
[Theory(DisplayName = "The matcher matches two nodes with the same node name")]
1919
[InlineData("textnode", "textnode")]
20-
[InlineData("<!--comment-->", "<!--comment-->")]
2120
[InlineData("<p></p>", "<p></p>")]
21+
[InlineData("<!--comment-->", "<!--comment-->")]
22+
[InlineData("<!-- [endif] -->", "<!-- [endif] -->")]
23+
[InlineData("<!-- -->", "<!-- -->")]
24+
[InlineData("<!---->", "<!---->")]
2225
public void Test001(string controlHtml, string testHtml)
2326
{
2427
var controls = ToSourceCollection(controlHtml, ComparisonSourceType.Control);

0 commit comments

Comments
 (0)