Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ShortDevelopment committed Jan 26, 2025
1 parent b9671c7 commit 79c1526
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public void Decrypt_ShouldYieldSameAsEncrypt()

var decrypted = cryptor.DecryptMessage(header, encryptedPayload, hmac).Span;

Assert.True(payload.SequenceEqual(decrypted[sizeof(uint)..]));
Assert.True(payload.SequenceEqual(decrypted));
}

sealed class FragmentSenderSpy : IFragmentSender
Expand Down

0 comments on commit 79c1526

Please sign in to comment.