Skip to content

Releases: ghosind/go-assert

Assertion for Go v1.1.1

Choose a tag to compare

@ghosind ghosind released this 23 Oct 13:57
v1.1.1
ea377e5
  • Add FloatEqual and FloatNotEqual.

Assertion for Go v1.1.0

Choose a tag to compare

@ghosind ghosind released this 30 Jul 14:03
v1.1.0
0323861

New Feature

  • Add IsError and NotIsError,

Assertion for Go v1.0.3

Choose a tag to compare

@ghosind ghosind released this 06 Feb 14:11
v1.0.3
e100610

Features

  • isOrderable supports the alias of the primitive orderable types.

v1.0.2

Choose a tag to compare

@ghosind ghosind released this 31 Jan 10:16
v1.0.2
d6d675d

Changes

  • Add PanicOf and NotPanicOf assertion functions.

Assertion for Go v1.0.1

Choose a tag to compare

@ghosind ghosind released this 12 Jan 16:30
v1.0.1
ba6bfed

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

Choose a tag to compare

@ghosind ghosind released this 02 Jan 02:32
v1.0.0
0587ec5

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

Choose a tag to compare

@ghosind ghosind released this 17 Oct 14:11
v0.2.1
504ce7d

New Feature

  • Add map assertion functions MapHasKey and MapHasValue.

v0.2.0

Choose a tag to compare

@ghosind ghosind released this 14 Sep 16:50
v0.2.0
c5ef1b2

New Features

  • Add ContainsElement.

Changes

  • Refactor test cases.

v0.1.7

Choose a tag to compare

@ghosind ghosind released this 29 Aug 13:40
v0.1.7
0b5c9f0

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

Choose a tag to compare

@ghosind ghosind released this 15 Aug 14:55
v0.1.6
48f6e2d

Hotfix version for isEqual function.