16 lines
416 B
Go
16 lines
416 B
Go
package runtime
|
|
|
|
import (
|
|
"slices"
|
|
"testing"
|
|
|
|
"git.novox.be/novox/mesh-sdk/go/buscalls"
|
|
)
|
|
|
|
// A-42: mesh/stream.publish is part of the bus-state-calls capability a module's manifest asks for.
|
|
func TestStreamPublishIsPartOfTheBusStateCallsCapability(t *testing.T) {
|
|
if !slices.Contains(callFamilies[CapBusStateCalls], buscalls.StreamPublish) {
|
|
t.Fatal("bus-state-calls does not state mesh/stream.publish")
|
|
}
|
|
}
|