RalfKoban / MiKo-Analyzers

Provides analyzers that are based on the .NET Compiler Platform.
MIT License
13 stars 1 forks source link

Tests returning Tasks should not simply return completed tasks #928

Closed RalfKoban closed 2 months ago

RalfKoban commented 3 months ago

We should report an issue in case a test that returns a Task returns a Task.CompletedTask. In such case the test method can be of type void.

RalfKoban commented 3 months ago

Be aware of async.