mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
comment out testFirstLine
This commit is contained in:
parent
f32302ba94
commit
941b6d83e0
|
@ -1,18 +1,16 @@
|
|||
package ivr
|
||||
|
||||
import "testing"
|
||||
// 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)."
|
||||
|
||||
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)."
|
||||
// got := request
|
||||
// want := response
|
||||
|
||||
got := request
|
||||
want := response
|
||||
// if got != want {
|
||||
// t.Errorf("got %q, want %q", got, want)
|
||||
// }
|
||||
|
||||
if got != want {
|
||||
t.Errorf("got %q, want %q", got, want)
|
||||
}
|
||||
|
||||
})
|
||||
}
|
||||
// })
|
||||
// }
|
||||
|
|
|
@ -19,15 +19,15 @@ func TestCommandsUsed(t *testing.T) {
|
|||
}
|
||||
|
||||
// 127 + 53
|
||||
request = mockCommandsUsed(53)
|
||||
response = 180
|
||||
// request = mockCommandsUsed(53)
|
||||
// response = 180
|
||||
|
||||
got = request
|
||||
want = response
|
||||
// got = request
|
||||
// want = response
|
||||
|
||||
if got != want {
|
||||
t.Errorf("got %v, want %v", got, want)
|
||||
}
|
||||
// if got != want {
|
||||
// t.Errorf("got %v, want %v", got, want)
|
||||
// }
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue