Skip to content

Commit b4b4a5c

Browse files
Cleanup.
1 parent ba2f74e commit b4b4a5c

File tree

4 files changed

+1
-6
lines changed

4 files changed

+1
-6
lines changed

Open.ChannelExtensions.ComparisonTests/Program.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,10 @@ await Enumerable
126126

127127
static void Dummy(int i)
128128
{
129-
130129
}
131130

132131
static void Dummy(long i)
133132
{
134-
135133
}
136134

137135
static async ValueTask<int> Delay(int i)

Open.ChannelExtensions.Tests/BasicTests.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ public static async Task ReadAllConcurrentlyAsEnumerablesAsync()
133133
Assert.Equal(6000, total);
134134
}
135135

136-
137136
[Fact]
138137
public static async Task ReadAllConcurrentlyAsEnumerables()
139138
{
@@ -164,7 +163,6 @@ public static async Task ReadAllConcurrentlyAsEnumerables()
164163
Assert.Equal(6000, total);
165164
}
166165

167-
168166
[Fact]
169167
public static async Task ReadAllAsEnumerables2()
170168
{
@@ -303,7 +301,6 @@ public static async Task Batch(int testSize, int batchSize)
303301
Assert.True(r.SequenceEqual(range));
304302
}
305303

306-
307304
[Theory]
308305
[InlineData(1000, 51)]
309306
[InlineData(50, 1000)]

Open.ChannelExtensions.Tests/ExceptionTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ await range
7474
}
7575

7676
[Fact]
77+
[System.Diagnostics.CodeAnalysis.SuppressMessage("Reliability", "CA2012:Use ValueTasks correctly", Justification = "Needs to happen synchronously")]
7778
public static void ChannelClosed()
7879
{
7980
var channel = Channel.CreateBounded<int>(new BoundedChannelOptions(1000)

Open.ChannelExtensions/Extensions._.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ internal static IEnumerable<ValueTask<T>> WrapValueTask<T>(this IEnumerable<Func
6666
yield return new ValueTask<T>(e());
6767
}
6868

69-
7069
/// <summary>
7170
/// Uses <see cref="ChannelWriter{T}.WaitToWriteAsync(CancellationToken)"/> to peek and see if the channel can still be written to.
7271
/// </summary>

0 commit comments

Comments
 (0)