From 8356a8a3f6ec0d282974fd73780a248f407ba590 Mon Sep 17 00:00:00 2001 From: diamondburned Date: Wed, 18 Nov 2020 16:18:15 -0800 Subject: [PATCH] Voice: Omit deprecated function in tests --- voice/integration_test.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/voice/integration_test.go b/voice/integration_test.go index 51bd982..76ce810 100644 --- a/voice/integration_test.go +++ b/voice/integration_test.go @@ -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")