Mining/pkg/ueps
Claude b8d7216905
ax(ueps): fix AX-2 violation in TestReader_ReadAndVerify_Bad — add errIntegrityViolation sentinel check
Comment described assertion in prose ("integrity violation" in error message) rather
than showing the concrete sentinel pattern. Test also failed to verify err identity
consistently with TestReader_ReadAndVerify_Ugly and packet_test.go error tests.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-02 13:04:43 +01:00
..
packet.go ax(ueps): add usage-example comment to sentinelError.Error method 2026-04-02 12:59:05 +01:00
packet_test.go ax(ueps): remove double-slash comment prefix violating AX Principle 2 2026-04-02 12:25:45 +01:00
reader.go ax(ueps): use var declaration for header in ReadAndVerify 2026-04-02 13:02:14 +01:00
reader_test.go ax(ueps): fix AX-2 violation in TestReader_ReadAndVerify_Bad — add errIntegrityViolation sentinel check 2026-04-02 13:04:43 +01:00