Fix a failing test

Green the build again.

chatgptclaude
Act as a senior engineer. This test is failing: [paste test + failure output]. Here's the code under test: [paste]. Tell me whether the test or the code is wrong, explain why it fails, and give the fix. Note any edge case the test revealed. Language/framework: [lang].

How to use this prompt

  1. Tap Copy prompt above.
  2. Replace the [bracketed] parts with your own details.
  3. Paste it into chatgpt, claude.