fixing tests.
This commit is contained in:
Родитель
1d1898f030
Коммит
18833bf793
|
@ -64,14 +64,14 @@ func TestSessionEvents(t *testing.T) {
|
|||
sessionStartedHandler := func(event speech.SessionEventArgs) {
|
||||
defer event.Close()
|
||||
sessionStartedFuture <- true
|
||||
id := event.SessionID()
|
||||
id := event.SessionID
|
||||
t.Log("Started ", id)
|
||||
}
|
||||
sessionStoppedFuture := make(chan bool)
|
||||
sessionStoppedHandler := func(event speech.SessionEventArgs) {
|
||||
defer event.Close()
|
||||
sessionStoppedFuture <- true
|
||||
id := event.SessionID()
|
||||
id := event.SessionID
|
||||
t.Log("Stopped ", id)
|
||||
}
|
||||
cancellationHandler := func(event speech.SpeechRecognitionCanceledEventArgs) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче