• andrew@lemmy.stuart.fun
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 years ago
      if !strings.Contains(notification.Text, "People are") {
        t.Fatal("notification text wrong")
      }
      

      Test coverage maintained. 👈😎👈

      • redjard᠎@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago
        if !strings.Contains(makeNotification($hot_search_word).Text, '${hot_search_word}') {
          t.Fatal("notification text wrong")
        }
        

        Wrote the test boss