Skip to content

Commit

Permalink
Correct Markdown Lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmurillo committed Jan 11, 2022
1 parent a34e42e commit b98148b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ Note: If you are using Visual Studio 2017 then you can additionally install [Moq

## Detected issues

* Moq1000 = Sealed classes cannot be mocked
* Moq1001 = Mocked interfaces cannot have constructor parameters
* Moq1002 = Parameters provided into mock do not match any existing constructors
* Moq1100 = Callback signature must match the signature of the mocked method
* Moq1101 = SetupGet/SetupSet should be used for properties, not for methods
* Moq1000 = Sealed classes cannot be mocked.
* Moq1001 = Mocked interfaces cannot have constructor parameters.
* Moq1002 = Parameters provided into mock do not match any existing constructors.
* Moq1100 = Callback signature must match the signature of the mocked method.
* Moq1101 = SetupGet/SetupSet should be used for properties, not for methods.
* Moq1200 = Setup should be used only for overridable members.
* Moq1201 = Setup of async methods should use `.ReturnsAsync` instance instead of `.Result`.
* Moq1300 = Mock.As() should take interfaces
* Moq1300 = Mock.As() should take interfaces.

## TODO

Expand All @@ -22,8 +22,8 @@ Note: If you are using Visual Studio 2017 then you can additionally install [Moq
* Checks for protected mocks when dynamically referencing their members
* Setup() requires overridable members
* Mock.Get() should not take literals
## How to install:

## How to install

* (Option 1) Install "Moq.Analyzers" NuGet package into test projects. Con: Extension will work for specific projects only. Pro: It will be available for all project developers automatically.
* (Option 2) Install "Moq.Analyzers" extension into Visual Studio. Con: Every developer must install extension manually. Pro: It works for all your projects.

0 comments on commit b98148b

Please sign in to comment.