mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-22 07:58:49 +00:00
fix(tests): remove ambiguous call to Span<T>.Count (#88)
This commit is contained in:
parent
ba451a0144
commit
d5c63feb5c
@ -76,7 +76,7 @@ internal class ReadOnlySpanTests
|
||||
Assert.Throws<ArgumentNullException>(() =>
|
||||
{
|
||||
var span = new ReadOnlySpan<int>();
|
||||
_ = span.Count(null!);
|
||||
_ = span.Count((Predicate<int>)null!);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -76,7 +76,7 @@ internal class SpanTests
|
||||
Assert.Throws<ArgumentNullException>(() =>
|
||||
{
|
||||
var span = new Span<int>();
|
||||
_ = span.Count(null!);
|
||||
_ = span.Count((Predicate<int>)null!);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user