mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
19 lines
367 B
Go
19 lines
367 B
Go
|
package ivr
|
||
|
|
||
|
import "testing"
|
||
|
|
||
|
func TestFollowage(t *testing.T) {
|
||
|
t.Run("returns a users date they followed a channel", func(t *testing.T) {
|
||
|
request, _ := Followage("forsen", "pajlada")
|
||
|
response := "pajlada has been following forsen since 2015-03-09."
|
||
|
|
||
|
got := request
|
||
|
want := response
|
||
|
|
||
|
if got != want {
|
||
|
t.Errorf("got %q, want %q", got, want)
|
||
|
}
|
||
|
|
||
|
})
|
||
|
}
|