Who did this one

alphacyberranger@lemmy.world to Programmer Humor@programming.dev – 612 points –
18

Someone forgot the back ticks 💀

Gotta love no unit tests

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.

It's great. I definitely recommend watching ${hot_search_word} rn. it's a masterpiece

Maybe that's the actual value they're watching, did you ever think of that, Mr. Pessimist?

(Sorry, junior dev somewhere out there. I tried.)

Binged 4 episodes of that just now. I love it.

In the PayPal success screen, there is an escaped backslash as well