Synchronize connection-owned audio resources
This commit is contained in:
committed by
Brandon McGinty
parent
b407a20132
commit
57961ffc9f
@@ -0,0 +1,13 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"git.stormux.org/storm/barnard/gumble/gumbleopenal"
|
||||
)
|
||||
|
||||
func TestWithStreamHandlesAbsentConnectionResource(t *testing.T) {
|
||||
if (&Barnard{}).withStream(func(*gumbleopenal.Stream) {}) {
|
||||
t.Fatal("nil connection stream was treated as available")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user