Skip to content

Commit

Permalink
Update InteropBindingTests.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
schwartz-concordium committed Jan 26, 2024
1 parent eb7ce2d commit 8e2df14
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/UnitTests/Interop/InteropBindingTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,8 @@ public async Task GivenBadReceiveParam_WhenDisplayReceiveParam_ThenThrowExceptio
// Assert
action.Should().Throw<InteropBindingException>()
.Where(e =>
e.Result == Result.JsonError
// && e.Message.StartsWith("Failed to deserialize AccountAddress due to: Could not parse AccountAddress")
);
e.Result == Result.JsonError &&
e.Message.StartsWith("Failed to deserialize AccountAddress due to: Could not parse AccountAddress", StringComparison.InvariantCulture));
}

[Fact]
Expand Down

0 comments on commit 8e2df14

Please sign in to comment.