News for hackers. Stuff that matters.
Re:There Is an AI Code Review Bubble by tayo42 on Monday January 26, 2026 @04:07PM (#46771537)
You can do that with mocks if it's important that something is only called once, or likely there's some unintended side effect of calling it twice and tests woukd catch the bug
Re:There Is an AI Code Review Bubble by anthonypasq96 on Monday January 26, 2026 @05:29PM (#46772488)
i know you could do it, im asking why on earth you would feel its vital to verify stream.filter() was called twice in a function