The 4-step bug fix: 1
The 4-step bug fix:
1. Write a test that reproduces the bug (assert the correct behavior).
2. Watch the test fail, due to the bug. ❌
3. Fix the bug.
4. Watch the test pass. ✅
So. Satisfying. 🤓
2 wins:
1. The expected behavior is documented.
2. The bug can't happen again. 👍