Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: David Pine <[email protected]>
  • Loading branch information
Evangelink and IEvangelist authored Jul 26, 2024
1 parent e119ec7 commit 875471a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/core/testing/mstest-analyzers/mstest0008.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ Methods marked with `[TestInitialize]` should follow the following layout to be

The type declaring these methods should also respect the following rules:

- the type should be a class
- the class should be `public` or `internal` (if the test project is using the `[DiscoverInternals]` attribute)
- the class should not be `static`
- if the class is sealed, it should be marked with `[TestClass]` (or a derived attribute)
- The type should be a `class`.
- The `class` should be `public` or `internal` (if the test project is using the `[DiscoverInternals]` attribute).
- The `class` shouldn't be `static`.
- If the `class` is `sealed`, it should be marked with `[TestClass]` (or a derived attribute).

## How to fix violations

Expand Down

0 comments on commit 875471a

Please sign in to comment.