---
title: "Discussion on \"A coding agent turned the test green by deleting the assertion\" | Hashnode"
description: "Discussion on \"A coding agent turned the test green by deleting the assertion\". A coding agent tells you it fixed a duplicate-charge bug. The test passes. In the diff, the line that checked the number of charges is gone.\nHere’s a small, fictional example you can run locally. It c"
url: "https://hashnode.com/posts/a-coding-agent-turned-the-test-green-by-deleting-the-assertion/6af339230a6b04b846e7439d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [A coding agent turned the test green by deleting the assertion](https://doesithold.hashnode.dev/a-coding-agent-turned-the-test-green-by-deleting-the-assertion?utm_source=hashnode&utm_medium=feed)

A coding agent tells you it fixed a duplicate-charge bug. The test passes. In the diff, the line that checked the number of charges is gone. Here’s a small, fictional example you can run locally. It c

6d ago · 3 min read · doesithold.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[alemaiorano](https://hashnode.com/@maioale)

@maioale

  
[View profile](https://hashnode.com/@maioale)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
