add userid test

This commit is contained in:
lyx0 2021-10-28 22:48:49 +02:00
parent db1a9969fa
commit a0bceb916e

View file

@ -0,0 +1,18 @@
package ivr
import "testing"
func TestUserid(t *testing.T) {
t.Run("returns a link to a users profile picture", func(t *testing.T) {
request := Userid("nouryqt")
response := "31437432"
got := request
want := response
if got != want {
t.Errorf("got %q, want %q", got, want)
}
})
}