ax(ueps): remove prose inline comments that restate code intent

AX Principle 2: comments must be usage examples, not prose descriptions.
"Corrupt the last byte of the payload/frame" restates what the adjacent
code does rather than demonstrating a call with concrete values.

Co-Authored-By: Charon <charon@lethean.io>
This commit is contained in:
Claude 2026-04-02 10:55:00 +01:00
parent 27f10dd252
commit dd981edea9
No known key found for this signature in database
GPG key ID: AF404715446AEB41
2 changed files with 0 additions and 2 deletions

View file

@ -134,7 +134,6 @@ func TestPacket_MarshalAndSign_Ugly(t *testing.T) {
t.Fatalf("MarshalAndSign failed: %v", err)
}
// Corrupt the last byte of the frame (part of the payload)
corrupted := make([]byte, len(frame))
copy(corrupted, frame)
corrupted[len(corrupted)-1] ^= 0xFF

View file

@ -52,7 +52,6 @@ func TestReader_ReadAndVerify_Bad(t *testing.T) {
t.Fatalf("MarshalAndSign failed: %v", err)
}
// Corrupt the last byte of the payload
corrupted := make([]byte, len(frame))
copy(corrupted, frame)
corrupted[len(corrupted)-1] ^= 0xFF