614
Who did this one (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] ______@lemm.ee 35 points 1 year ago
[-] andrew@lemmy.stuart.fun 41 points 1 year ago
if !strings.Contains(notification.Text, "People are") {
  t.Fatal("notification text wrong")
}

Test coverage maintained. ๐Ÿ‘ˆ๐Ÿ˜Ž๐Ÿ‘ˆ

[-] Redjard@lemmy.dbzer0.com 16 points 1 year ago
if !strings.Contains(makeNotification($hot_search_word).Text, '${hot_search_word}') {
  t.Fatal("notification text wrong")
}

Wrote the test boss

[-] ______@lemm.ee 3 points 1 year ago* (last edited 1 year ago)

Good work. Now explain to me why this test passed in CI but is clearly broken in production.

this post was submitted on 26 Aug 2023
614 points (98.4% liked)

Programmer Humor

19187 readers
1112 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS