mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
19 lines
302 B
Go
19 lines
302 B
Go
|
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)
|
||
|
}
|
||
|
|
||
|
})
|
||
|
}
|