| ▲ | Show HN: Should – Expressive Assertions for Go | |
| 8 points by andrey-1201 4 days ago | ||
A few months ago I posted this here. Since then I've added a bunch of new assertions: BeSorted, BeSameTime, BeWithin, BeError/BeErrorIs/BeErrorAs, formatted custom messages, and some renames for clarity. The core idea is still the same — when a test fails, you should immediately know why without having to add debug prints. | ||