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

        Wrote the test boss