Skip to content

Commit 9fbbc0c

Browse files
committed
cleanup
1 parent 34ddacf commit 9fbbc0c

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

src/Tests/PolyfillExtensionsTests_IEnumerable.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ public void Chunk_SizeOf3()
4646

4747
var chunks = enumerable.Chunk(3).ToList();
4848

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]);
49+
Assert.AreEqual(new[] { 1, 2, 3 }, chunks[0]);
50+
Assert.AreEqual(new[] { 4, 5, 6 }, chunks[1]);
51+
Assert.AreEqual(new[] { 7, 8, 9 }, chunks[2]);
52+
Assert.AreEqual(new[] { 10, 11 }, chunks[3]);
5353
}
5454

5555
[Test]
@@ -59,8 +59,8 @@ public void Chunk_SizeOf8()
5959

6060
var chunks = enumerable.Chunk(8).ToList();
6161

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]);
62+
Assert.AreEqual(new[] { 1, 2, 3, 4, 5, 6, 7, 8 }, chunks[0]);
63+
Assert.AreEqual(new[] { 9, 10, 11 }, chunks[1]);
6464
}
6565

6666
[Test]

src/Tests/UnreachableExceptionTests.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ namespace Tests;
44
public class UnreachableExceptionTests
55
{
66
[Test]
7-
public void UnreachableException_Compatiblity_with_all_TargetFrameworks()
8-
{
7+
public void UnreachableException_Compatibility_with_all_TargetFrameworks() =>
98
_ = Assert.Throws<UnreachableException>(() => throw new UnreachableException());
10-
}
119
}

0 commit comments

Comments
 (0)