Skip to content

Commit

Permalink
fix compare
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Feb 22, 2025
1 parent 99f8cad commit 2a55ada
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration/csharp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private static async Task AssertBinary(Client client)

var response = await client.Test().Binary(payload);

if (payload != response) {
if (!payload.SequenceEqual(response)) {
throw new Exception("Test AssertBinary failed");
}
}
Expand All @@ -106,7 +106,7 @@ private static async Task AssertForm(Client client)

var response = await client.Test().Form(payload);

if (payload != response) {
if (!payload.Equals(response)) {
throw new Exception("Test AssertForm failed");
}
}
Expand Down

0 comments on commit 2a55ada

Please sign in to comment.