mirror of https://github.com/oliverbooth/X10D
[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()
|
||||
{
|
||||
IEnumerable<string>? source = null;
|
||||
Assert.ThrowsException<ArgumentNullException>(() => source!.ConcatOne("Foobar"));
|
||||
Assert.ThrowsException<ArgumentNullException>(() => source!.ConcatOne("Foobar").ToArray());
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
|
|
Loading…
Reference in New Issue