Who did this one - eviltoast
  • andrew@lemmy.stuart.fun
    link
    fedilink
    English
    arrow-up
    40
    ·
    1 year ago
    if !strings.Contains(notification.Text, "People are") {
      t.Fatal("notification text wrong")
    }
    

    Test coverage maintained. 👈😎👈

    • Redjard@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      15
      ·
      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
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      1 year ago

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