Skip to content

Commit e0f79dd

Browse files
committed
Cleanup
1 parent a409c2a commit e0f79dd

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

tests/StackExchange.Redis.Tests/FailoverTests.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@
88
namespace StackExchange.Redis.Tests;
99

1010
[Collection(NonParallelCollection.Name)]
11-
public class FailoverTests : TestBase, IAsyncLifetime
11+
public class FailoverTests(ITestOutputHelper output) : TestBase(output), IAsyncLifetime
1212
{
1313
protected override string GetConfiguration() => GetPrimaryReplicaConfig().ToString();
1414

15-
public FailoverTests(ITestOutputHelper output) : base(output) { }
16-
1715
public ValueTask DisposeAsync() => ValueTask.CompletedTask;
1816

1917
public async ValueTask InitializeAsync()

tests/StackExchange.Redis.Tests/SetTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public async Task SetRemoveArgTests()
162162
Assert.Throws<ArgumentNullException>(() => db.SetRemove(key, values!));
163163
await Assert.ThrowsAsync<ArgumentNullException>(async () => await db.SetRemoveAsync(key, values!).ForAwait()).ForAwait();
164164

165-
values = Array.Empty<RedisValue>();
165+
values = [];
166166
Assert.Equal(0, db.SetRemove(key, values));
167167
Assert.Equal(0, await db.SetRemoveAsync(key, values).ForAwait());
168168
}

0 commit comments

Comments
 (0)