Files
mesh-host/internal/profile/file_references_test.go
T
2026-10-21 14:34:29 +02:00

19 lines
530 B
Go

package profile
import (
"context"
"testing"
"time"
)
// 1695/AC6: the node's report carries the capability file-references.
func TestTheProfileSaysTheNodeEngineReadsFileReferences(t *testing.T) {
got := Detect(context.Background(), Default(func(context.Context, string, ...string) (string, error) {
return "", nil
}), time.Second)
v := verdictOf(t, got, CapFileReferences)
if !v.Present || v.Detail == "" || v.How == "" || CapFileReferences != "file-references" {
t.Errorf("1695/AC6: file-references = %+v", v)
}
}