Skip to content

Commit 8e5e6cd

Browse files
committed
Fix for api ref
1 parent 4da365c commit 8e5e6cd

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/CI-CD-Docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
dotnet build src/bunit.web/ --no-restore -p:version=$VERSION
4343
dotnet build src/bunit.xunit/ --no-restore -p:version=$VERSION
4444
dotnet build docs/docs.csproj
45+
dotnet build docs/docs.csproj
4546
- name: Deploy
4647
uses: JamesIves/github-pages-deploy-action@releases/v3
4748
with:

docs/docs/getting-started/writing-csharp-tests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ In this test, we do the following:
4242

4343
1. New up the disposable <xref:Bunit.TestContext>, and assign it using the `using var` syntax, to avoid unnecessary indention.
4444
2. Render the `<HelloWorld>` component using <xref:Bunit.TestContext>, which we do through the <xref:Bunit.TestContext.RenderComponent``1(Bunit.Rendering.ComponentParameter[])> method. We will cover passing parameters to components elsewhere.
45-
3. Verify the rendered markup from the `<HelloWorld>` component using the <xref:Bunit.MarkupMatchesAssertExtensions.MarkupMatches(Bunit.IRenderedFragment,System.String,System.String)> method, which performs a semantic comparison of the expected markup with the rendered markup.
45+
3. Verify the rendered markup from the `<HelloWorld>` component using the <xref:Bunit.MarkupMatchesAssertExtensions.MarkupMatches> method, which performs a semantic comparison of the expected markup with the rendered markup.
4646

4747
> [!TIP]
4848
> Learn more about how the semantic HTML/markup comparison in bUnit work, and how to customize it on the <xref:semantic-html-comparison> page.

0 commit comments

Comments
 (0)