mirror-nourybot/pkg/api/ivr/whois_test.go

17 lines
280 B
Go
Raw Normal View History

2021-10-30 00:20:03 +02:00
package ivr
import "testing"
func TestWhois(t *testing.T) {
t.Run("returns a link to a users profile picture", func(t *testing.T) {
2021-12-19 02:50:28 +01:00
request := Whois("forsen")
2021-10-30 00:20:03 +02:00
got := request
2021-12-19 03:03:45 +01:00
want := Whois("forsen")
2021-10-30 00:20:03 +02:00
if got != want {
t.Errorf("got %q, want %q", got, want)
}
})
}