Files
mesh-tools/node-tools/internal/runtime/stream_publish_test.go
T
2026-11-13 01:49:02 +01:00

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")
}
}