Skip to content

Commit

Permalink
Removed test for code links still being investigated
Browse files Browse the repository at this point in the history
  • Loading branch information
mtirionMSFT committed Jan 17, 2024
1 parent ae2c756 commit 93c8512
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/DocLinkChecker/DocLinkChecker.Test/MarkdownTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,6 @@ public class MarkdownTests
.AddNewLine()
.AddParagraphs(2);

private string _codeLinkingDocument = string.Empty
.AddHeading("Code Linking Document", 1)
.AddParagraphs(1).AddCodeLink("Code", "scripts/foo.cs")
.AddParagraphs(1).AddCodeLink("Code", "scripts/foo.cs?name=Bravo")
.AddNewLine()
.AddParagraphs(1).AddCodeLink(string.Empty, "scripts/bar.cs#starting")
.AddParagraphs(1).AddCodeLink(string.Empty, "scripts/bar.cs#L3-5")
.AddParagraphs(1).AddCodeLink(string.Empty, "scripts/bar.cs?highlight=2,5-7,9-)")
.AddNewLine()
.AddParagraphs(2);

[Fact]
public void FindAllLinks()
{
Expand Down Expand Up @@ -131,12 +120,5 @@ public void FindAllTablesWithErrors()
var result = MarkdownHelper.ParseMarkdownString(string.Empty, _errorDocument, true);
result.errors.Count.Should().Be(5);
}

[Fact]
public void FindAllCodeLinks()
{
var result = MarkdownHelper.ParseMarkdownString(string.Empty, _codeLinkingDocument, false);
result.errors.Should().BeEmpty();
}
}
}

0 comments on commit 93c8512

Please sign in to comment.