alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agoWho did this onelemmy.worldimagemessage-square19fedilinkarrow-up1626arrow-down111
arrow-up1615arrow-down1imageWho did this onelemmy.worldalphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agomessage-square19fedilink
minus-squareandrew@lemmy.stuart.funlinkfedilinkEnglisharrow-up42·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.