Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix Argument Formatters docs code
Updated the argument display formatter in the test method.
  • Loading branch information
slang25 authored Oct 7, 2025
commit ee017dfcd5f8a964d1ec1850f63eaa45f57ea61f
6 changes: 3 additions & 3 deletions docs/docs/customization-extensibility/argument-formatters.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ For example:
```csharp
[Test]
[MethodDataSource(nameof(SomeMethod))]
[ArgumentDisplayFormatter<SomeClassFormatter>]
public async Task Test(SomeClass)
[ArgumentDisplayFormatter<MyFormatter>]
public async Task Test(SomeClass someClass)
{
await Assert.That(TestContext.Current!.GetTestDisplayName()).IsEqualTo("A super important test!");
await Assert.That(TestContext.Current!.GetDisplayName()).IsEqualTo("A super important test!");
}
```

Expand Down