Mining/pkg/ueps
Claude 9a3179ac6b
All checks were successful
Security Scan / security (push) Successful in 37s
Test / test (push) Successful in 4m27s
ax(ueps): assert sentinel error identity in writeTLV_Bad test
Comment promised errTLVValueTooLarge but test only checked err != nil.
AX Principle 2 requires comments to be accurate usage examples —
the comment implied sentinel identity so the assertion must verify it.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-02 12:05:04 +01:00
..
packet.go ax(ueps): replace variable reference with concrete value in NewPacketBuilder comment 2026-04-02 12:02:01 +01:00
packet_test.go ax(ueps): assert sentinel error identity in writeTLV_Bad test 2026-04-02 12:05:04 +01:00
reader.go ax(ueps): fix misleading errIntegrityViolation comment and message 2026-04-02 11:54:45 +01:00
reader_test.go ax(ueps): remove redundant inline comment that restates the pre-function docstring 2026-04-02 11:01:18 +01:00