Skip to content

Commit 5c72e59

Browse files
committed
Formatting around correct example
1 parent 1337c3d commit 5c72e59

File tree

1 file changed

+2
-1
lines changed
  • docs/articles/nunit/writing-tests/attributes

1 file changed

+2
-1
lines changed

docs/articles/nunit/writing-tests/attributes/testcase.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ TestCaseAttribute supports a number of additional named parameters:
4949
> [!WARNING]
5050
> When using the `Ignore` parameter (and others, see below), note that this has to be a named parameter. It is easy to accidentally add another `Ignore` attribute after the `TestCase` attribute. That will be the same as adding it separately, and it will apply to the complete fixture. This may apply to other named parameters, with names equal to other attributes, like the `Explicit` and `Category` parameters.
5151
52-
Correct example usage
52+
Correct example usage:
53+
5354
[!code-csharp[TestCaseWithIgnore](~/snippets/Snippets.NUnit/Attributes/TestCaseAttributeExamples.cs#TestCaseWithIgnore)]
5455

5556
![TestCaseIgnoreDoneCorrect](../../../../images/TestCaseIgnoreDoneCorrect.png)

0 commit comments

Comments
 (0)