logoalt Hacker News

psadauskas • yesterday at 10:12 PM • 1 reply • view on HN

I once had it "fix" a failing test by changing it from (in Ruby pseudocode):

    assert_eq foo, bar
to:

    assert_eq foo, bar if foo == bar

Replies

developerDan • yesterday at 10:41 PM

Last week a friend prompted it to fix a failing test case. The solution Claude came up with was to delete the test.