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