We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34ddacf commit 9fbbc0cCopy full SHA for 9fbbc0c
src/Tests/PolyfillExtensionsTests_IEnumerable.cs
@@ -46,10 +46,10 @@ public void Chunk_SizeOf3()
46
47
var chunks = enumerable.Chunk(3).ToList();
48
49
- Assert.AreEqual(new int[] { 1, 2, 3 }, chunks[0]);
50
- Assert.AreEqual(new int[] { 4, 5, 6 }, chunks[1]);
51
- Assert.AreEqual(new int[] { 7, 8, 9 }, chunks[2]);
52
- Assert.AreEqual(new int[] { 10, 11 }, chunks[3]);
+ Assert.AreEqual(new[] { 1, 2, 3 }, chunks[0]);
+ Assert.AreEqual(new[] { 4, 5, 6 }, chunks[1]);
+ Assert.AreEqual(new[] { 7, 8, 9 }, chunks[2]);
+ Assert.AreEqual(new[] { 10, 11 }, chunks[3]);
53
}
54
55
[Test]
@@ -59,8 +59,8 @@ public void Chunk_SizeOf8()
59
60
var chunks = enumerable.Chunk(8).ToList();
61
62
- Assert.AreEqual(new int[] { 1, 2, 3, 4, 5, 6, 7, 8 }, chunks[0]);
63
- Assert.AreEqual(new int[] { 9, 10, 11 }, chunks[1]);
+ Assert.AreEqual(new[] { 1, 2, 3, 4, 5, 6, 7, 8 }, chunks[0]);
+ Assert.AreEqual(new[] { 9, 10, 11 }, chunks[1]);
64
65
66
src/Tests/UnreachableExceptionTests.cs
@@ -4,8 +4,6 @@ namespace Tests;
4
public class UnreachableExceptionTests
5
{
6
7
- public void UnreachableException_Compatiblity_with_all_TargetFrameworks()
8
- {
+ public void UnreachableException_Compatibility_with_all_TargetFrameworks() =>
9
_ = Assert.Throws<UnreachableException>(() => throw new UnreachableException());
10
- }
11
0 commit comments