2021-10-28 22:37:58 +02:00
|
|
|
package ivr
|
|
|
|
|
2021-10-28 23:43:51 +02:00
|
|
|
// func TestFirstLine(t *testing.T) {
|
|
|
|
// t.Run("returns a users first message in a channel", func(t *testing.T) {
|
|
|
|
// request, _ := FirstLine("forsen", "forsen")
|
|
|
|
// response := "forsen: EZ or Ezy (3y, 9mo, 16d ago)."
|
2021-10-28 22:37:58 +02:00
|
|
|
|
2021-10-28 23:43:51 +02:00
|
|
|
// got := request
|
|
|
|
// want := response
|
2021-10-28 22:37:58 +02:00
|
|
|
|
2021-10-28 23:43:51 +02:00
|
|
|
// if got != want {
|
|
|
|
// t.Errorf("got %q, want %q", got, want)
|
|
|
|
// }
|
2021-10-28 22:37:58 +02:00
|
|
|
|
2021-10-28 23:43:51 +02:00
|
|
|
// })
|
|
|
|
// }
|