alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 2 years agoWho did this onelemmy.worldimagemessage-square15fedilinkarrow-up1416arrow-down19
arrow-up1407arrow-down1imageWho did this onelemmy.worldalphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 2 years agomessage-square15fedilink
minus-squareandrew@lemmy.stuart.funlinkfedilinkEnglisharrow-up33·2 years agoif !strings.Contains(notification.Text, "People are") { t.Fatal("notification text wrong") } Test coverage maintained. 👈😎👈
minus-squareredjard@lemmy.dbzer0.comlinkfedilinkarrow-up11·2 years 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-22 years 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.