• andrew@lemmy.stuart.fun
      link
      fedilink
      English
      arrow-up
      42
      ·
      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
        16
        ·
        1 year ago
        if !strings.Contains(makeNotification($hot_search_word).Text, '${hot_search_word}') {
          t.Fatal("notification text wrong")
        }
        

        Wrote the test boss

      • ______
        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.