Skip to content

Releases: ghosind/go-assert

Assertion for Go v1.1.1

23 Oct 13:57
v1.1.1
ea377e5
Compare
Choose a tag to compare
  • Add FloatEqual and FloatNotEqual.

Assertion for Go v1.1.0

30 Jul 14:03
v1.1.0
0323861
Compare
Choose a tag to compare

New Feature

  • Add IsError and NotIsError,

Assertion for Go v1.0.3

06 Feb 14:11
v1.0.3
e100610
Compare
Choose a tag to compare

Features

  • isOrderable supports the alias of the primitive orderable types.

v1.0.2

31 Jan 10:16
v1.0.2
d6d675d
Compare
Choose a tag to compare

Changes

  • Add PanicOf and NotPanicOf assertion functions.

Assertion for Go v1.0.1

12 Jan 16:30
v1.0.1
ba6bfed
Compare
Choose a tag to compare

Assertion for Go is a collection of assertion functions that extend the built-in testing package.

New Features

  • Equal support to compare n-dimensions slice/array.

Assertion for Go v1.0.0

02 Jan 02:32
v1.0.0
0587ec5
Compare
Choose a tag to compare

Assertion for Go is a collection of assertion functions that extend the built-in testing package.

Breaking Changes

  • The supported minimum go version is 1.18.
  • The equality of mixed signed and unsigned is always false.

New Features

  • New comparison assertion functions.

Changes

  • Panic a predefined error if the parameters do not match the requirements.
  • Mark testXXX as the test helper functions.
  • Rename isComparable to isOrderable.

v0.2.1

17 Oct 14:11
v0.2.1
504ce7d
Compare
Choose a tag to compare

New Feature

  • Add map assertion functions MapHasKey and MapHasValue.

v0.2.0

14 Sep 16:50
v0.2.0
c5ef1b2
Compare
Choose a tag to compare

New Features

  • Add ContainsElement.

Changes

  • Refactor test cases.

v0.1.7

29 Aug 13:40
v0.1.7
0b5c9f0
Compare
Choose a tag to compare

go-assert v0.1.7

New Features

  • Add string assertion functions.

Changes

  • Allow checking the equality between int and uint values.
  • uintptr is also an unsigned integer.

v0.1.6

15 Aug 14:55
v0.1.6
48f6e2d
Compare
Choose a tag to compare

Hotfix version for isEqual function.