1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-23 01:18:46 +00:00

[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

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));