Skip to content

Latest commit

 

History

History
executable file
·
52 lines (39 loc) · 1.43 KB

File metadata and controls

executable file
·
52 lines (39 loc) · 1.43 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Changed

  • Improve error formatting in Error assert methods for better readability

Added

  • Added Greater, GreaterOrEqual, Less, and LessOrEqual assert methods for numeric comparison
  • Added Empty and NotEmpty assert methods for zero-length checks on strings, slices, maps, and channels
  • Added NotEqualDelta assert method, complementing EqualDelta

Fixed

  • Error and NoError now correctly treat typed nil errors (e.g. (*MyError)(nil)) as nil

Added

  • Added Matches and NotMatches assert methods for regexp matching on strings

v1.0.0 (2025-10-17)

Added

  • Added new assert methods
    • True
    • False
    • Equal
    • NotEqual
    • EqualDelta
    • Same
    • NotSame
    • Length
    • Contains
    • NotContains
    • Error
    • NoError
    • ErrorIs
    • NotErrorIs
    • EqualJSON
    • JSON
    • Fail
    • Failf