Skip to content

Commit

Permalink
fix: unnecessary cast
Browse files Browse the repository at this point in the history
  • Loading branch information
jose-sousa committed Sep 15, 2023
1 parent 332fbd8 commit 3a10389
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public async Task OnConsumeAsync_WhenCalledTwice_TypeIsResolvedOnceThenTypeIsLoa
{
// Arrange
var expectedSchemaId = BinaryPrimitives.ReadInt32BigEndian(
((byte[]) this.messageValue).AsSpan().Slice(1, 4));
this.messageValue.AsSpan().Slice(1, 4));

this.schemaRegistryTypeNameResolverMock.Setup(
resolver => resolver.ResolveAsync(expectedSchemaId)).ReturnsAsync(typeof(SchemaRegistryTypeResolverTests).FullName);
Expand Down

0 comments on commit 3a10389

Please sign in to comment.