Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Aug 29, 2023
1 parent 34ddacf commit 9fbbc0c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
12 changes: 6 additions & 6 deletions src/Tests/PolyfillExtensionsTests_IEnumerable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ public void Chunk_SizeOf3()

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

Assert.AreEqual(new int[] { 1, 2, 3 }, chunks[0]);
Assert.AreEqual(new int[] { 4, 5, 6 }, chunks[1]);
Assert.AreEqual(new int[] { 7, 8, 9 }, chunks[2]);
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]);
}

[Test]
Expand All @@ -59,8 +59,8 @@ public void Chunk_SizeOf8()

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

Assert.AreEqual(new int[] { 1, 2, 3, 4, 5, 6, 7, 8 }, chunks[0]);
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]);
}

[Test]
Expand Down
4 changes: 1 addition & 3 deletions src/Tests/UnreachableExceptionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ namespace Tests;
public class UnreachableExceptionTests
{
[Test]
public void UnreachableException_Compatiblity_with_all_TargetFrameworks()
{
public void UnreachableException_Compatibility_with_all_TargetFrameworks() =>
_ = Assert.Throws<UnreachableException>(() => throw new UnreachableException());
}
}

0 comments on commit 9fbbc0c

Please sign in to comment.