Skip to content

Commit

Permalink
chore: update public-api test snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
filzrev committed Feb 11, 2024
1 parent 0618405 commit 4151c5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions test/docfx.Tests/Api.verified.cs
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,10 @@ public static class MarkdownTocReader
{
public static System.Collections.Generic.List<Docfx.DataContracts.Common.TocItemViewModel> LoadToc(string tocContent, string filePath) { }
}
public static class TocHelper
{
public static Docfx.DataContracts.Common.TocItemViewModel LoadSingleToc(string file) { }
}
}
namespace Docfx.Build.Common
{
Expand Down
2 changes: 1 addition & 1 deletion test/docfx.Tests/PublicApiContractTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static Task TestPublicApiContract()
.OrderBy(a => a.FullName)
.Select(a => a.GeneratePublicApi(new() { IncludeAssemblyAttributes = false })));

return Verify(new Target("cs", publicApi)).UseFileName("Api").AutoVerify();
return Verify(new Target("cs", publicApi)).UseFileName("Api").AutoVerify(includeBuildServer: false);

void GetAssemblies(Assembly assembly)
{
Expand Down

0 comments on commit 4151c5e

Please sign in to comment.