package spc import ( "os" "path/filepath" "testing" ) func readSPCTestFixture(t *testing.T, name string) []byte { t.Helper() path := filepath.Join("..", "..", "providers", "spc", "testdata", name) raw, err := os.ReadFile(path) if err != nil { t.Fatalf("read fixture %s: %v", path, err) } return raw }