[ci skip] style(test): suppress IteratorNeverReturns warning

This commit is contained in:
Oliver Booth 2023-03-30 20:18:17 +01:00
parent 3ce8d281b7
commit 76810408f2
No known key found for this signature in database
GPG Key ID: 20BEB9DC87961025
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@ public class EnumerableTests
{ {
yield return 1; yield return 1;
} }
// ReSharper disable once IteratorNeverReturns
} }
Assert.ThrowsException<OverflowException>(() => GetValues().CountWhereNot(x => x % 2 == 0)); Assert.ThrowsException<OverflowException>(() => GetValues().CountWhereNot(x => x % 2 == 0));