1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-12-02 11:52:56 +00:00

Voice: Omit deprecated function in tests

This commit is contained in:
diamondburned 2020-11-18 16:18:15 -08:00
parent cdc0cfc300
commit 8356a8a3f6

View file

@ -89,12 +89,6 @@ func TestIntegration(t *testing.T) {
if err := vs.Speaking(voicegateway.Microphone); err != nil {
t.Fatal("failed to start speaking:", err)
}
t.Cleanup(func() {
log.Println("Stopping speaking.")
if err := vs.StopSpeaking(); err != nil {
t.Fatal("failed to stop speaking:", err)
}
})
finish("sending the speaking command")