go-testdeep v1.5.0 Release Notes
Release Date: 2020-05-17 // almost 4 years ago-
๐ New features:
- ๐ new
Flatten
function: useful to flatten noninterface{}
slices inSet
,Bag
arguments (but not only, read the doc); - โ panic messages due to user misuse of go-testdeep functions/methods are now red colored to help her/him to focus on her/his mistake and not think go-testdeep failed shamefully;
- ๐ delay colors initialization to the first use. So colors can now be disabled in golang playgroung. See the corresponding FAQ point;
- โก๏ธ optimize some type retrievals.
๐ Fix:
- forbid
Isa(nil)
because it is a nonsense and so avoid a deep panic.
๐ New FAQ entries:
- โ Why nil is handled so specifically?
- โ play.golang.org does not handle colors, error output is nasty
Enjoy and do not forget to star!
- ๐ new