Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removing FluentAssertions from dependencies #3013

Merged
merged 1 commit into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions csharp/tests/Integration/GetAndSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

using System.Runtime.InteropServices;

using FluentAssertions;

using Glide;

using static Tests.Integration.IntegrationTestBase;
Expand All @@ -13,12 +11,8 @@ public class GetAndSet : IClassFixture<IntegrationTestBase>
{
private async Task GetAndSetValues(AsyncClient client, string key, string value)
{
_ = (await client.SetAsync(key, value))
.Should()
.Be("OK");
_ = (await client.GetAsync(key))
.Should()
.Be(value);
Assert.Equal("OK", await client.SetAsync(key, value));
Assert.Equal(value, await client.GetAsync(key));
}

private async Task GetAndSetRandomValues(AsyncClient client)
Expand Down Expand Up @@ -48,9 +42,7 @@ public async Task GetAndSetCanHandleNonASCIIUnicode()
public async Task GetReturnsNull()
{
using AsyncClient client = new("localhost", TestConfiguration.STANDALONE_PORTS[0], false);
_ = (await client.GetAsync(Guid.NewGuid().ToString()))
.Should()
.BeNull();
Assert.Null(await client.GetAsync(Guid.NewGuid().ToString()));
}

[Fact]
Expand Down Expand Up @@ -111,9 +103,7 @@ public void ConcurrentOperationsWork()
}
else
{
_ = (await client.GetAsync(Guid.NewGuid().ToString()))
.Should()
.BeNull();
Assert.Null(await client.GetAsync(Guid.NewGuid().ToString()));
}
}
}));
Expand Down
1 change: 0 additions & 1 deletion csharp/tests/tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="FluentAssertions" Version="6.12.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading