mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-09 22:55:42 +00:00
[ci skip] fix(test): force enumeration of lazy enumerable
This commit is contained in:
parent
38112f07ac
commit
4cd669a200
@ -34,7 +34,7 @@ public class EnumerableTests
|
|||||||
public void ConcatOne_ShouldThrowArgumentNullException_GivenNullSource()
|
public void ConcatOne_ShouldThrowArgumentNullException_GivenNullSource()
|
||||||
{
|
{
|
||||||
IEnumerable<string>? source = null;
|
IEnumerable<string>? source = null;
|
||||||
Assert.ThrowsException<ArgumentNullException>(() => source!.ConcatOne("Foobar"));
|
Assert.ThrowsException<ArgumentNullException>(() => source!.ConcatOne("Foobar").ToArray());
|
||||||
}
|
}
|
||||||
|
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
|
Loading…
Reference in New Issue
Block a user