go-testdeep v1.5.0 Release Notes

Release Date: 2020-05-17 // almost 4 years ago
  • ๐Ÿ†• New features:

    • ๐Ÿ†• new Flatten function: useful to flatten non interface{} slices in Set, 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:

    Enjoy and do not forget to star!