alphacyberranger@lemmy.world to Programmer HumorEnglish · 1 year agoWho did this onelemmy.worldimagemessage-square18fedilinkarrow-up1628arrow-down111cross-posted to: programmer_humor
arrow-up1617arrow-down1imageWho did this onelemmy.worldalphacyberranger@lemmy.world to Programmer HumorEnglish · 1 year agomessage-square18fedilinkcross-posted to: programmer_humor
minus-squareandrew@lemmy.stuart.funlinkfedilinkEnglisharrow-up43·1 year agoif !strings.Contains(notification.Text, "People are") { t.Fatal("notification text wrong") } Test coverage maintained. 👈😎👈
minus-squareRedjard@lemmy.dbzer0.comlinkfedilinkarrow-up16·1 year agoif !strings.Contains(makeNotification($hot_search_word).Text, '${hot_search_word}') { t.Fatal("notification text wrong") } Wrote the test boss
minus-square______@lemm.eelinkfedilinkarrow-up3·edit-21 year agoGood work. Now explain to me why this test passed in CI but is clearly broken in production.
if !strings.Contains(notification.Text, "People are") { t.Fatal("notification text wrong") }
Test coverage maintained. 👈😎👈
if !strings.Contains(makeNotification($hot_search_word).Text, '${hot_search_word}') { t.Fatal("notification text wrong") }
Wrote the test boss
Good work. Now explain to me why this test passed in CI but is clearly broken in production.