1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-22 02:18:47 +00:00

fix(tests): remove ambiguous call to Span<T>.Count (#88)

This commit is contained in:
Oliver Booth 2023-11-14 16:57:15 +00:00
parent ba451a0144
commit d5c63feb5c
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ internal class ReadOnlySpanTests
Assert.Throws<ArgumentNullException>(() =>
{
var span = new ReadOnlySpan<int>();
_ = span.Count(null!);
_ = span.Count((Predicate<int>)null!);
});
}
}

View File

@ -76,7 +76,7 @@ internal class SpanTests
Assert.Throws<ArgumentNullException>(() =>
{
var span = new Span<int>();
_ = span.Count(null!);
_ = span.Count((Predicate<int>)null!);
});
}
}