Skip to content

Commit

Permalink
removing FluentAssertions from dependencies (#3013)
Browse files Browse the repository at this point in the history
Signed-off-by: Guriy Samarin <[email protected]>
Co-authored-by: Guriy Samarin <[email protected]>
  • Loading branch information
Sa1Gur and Guriy Samarin authored Jan 27, 2025
1 parent f7f2108 commit e99cd3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
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

0 comments on commit e99cd3e

Please sign in to comment.