File tree Expand file tree Collapse file tree 2 files changed +0
-30
lines changed
tests/unit-tests/Tests/ReadOnlySpan/Split Expand file tree Collapse file tree 2 files changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -6,21 +6,6 @@ public static partial class ReadOnlySpanSplitTests
66 {
77 public sealed partial class SplitAny
88 {
9- // [Fact]
10- // public void EnumerationReturnsReadOnlySpans()
11- // {
12- //#pragma warning disable CS0183 // 'is' expression's given expression is always of the provided type
13- // foreach(var span in "abaca".AsSpan().SplitAny(['b', 'c']))
14- // {
15- // Assert.True(span is ReadOnlySpan<char>);
16- // }
17-
18- // foreach(var span in "abaca".AsSpan().SplitAny(['b', 'c'], 10))
19- // {
20- // Assert.True(span is ReadOnlySpan<char>);
21- // }
22- //#pragma warning restore CS0183 // 'is' expression's given expression is always of the provided type
23- // }
249
2510 [ Fact ]
2611 public void EmptySourceResultInEmptySpan ( )
Original file line number Diff line number Diff line change @@ -6,21 +6,6 @@ public static partial class ReadOnlySpanSplitTests
66 {
77 public sealed partial class SplitSequence
88 {
9- // [Fact]
10- // public void EnumerationReturnsReadOnlySpans()
11- // {
12- //#pragma warning disable CS0183 // 'is' expression's given expression is always of the provided type
13- // foreach(var span in "abca".AsSpan().Split(['b', 'c']))
14- // {
15- // Assert.True(span is ReadOnlySpan<char>);
16- // }
17-
18- // foreach(var span in "abca".AsSpan().Split(['b', 'c'], 10))
19- // {
20- // Assert.True(span is ReadOnlySpan<char>);
21- // }
22- //#pragma warning restore CS0183 // 'is' expression's given expression is always of the provided type
23- // }
249
2510 [ Fact ]
2611 public void EmptySourceResultInEmptySpan ( )
You can’t perform that action at this time.
0 commit comments