package catalogue import ( "encoding/json" "testing" ) // A preference has a default in the definition; the mesh's layer, then the node's, override it; a key // with a default is not stray; and a value that is the operator's still has none (novox/hq ADR 0262). func parsed(t *testing.T, m Manifest) error { t.Helper() raw, err := json.Marshal(m) if err != nil { t.Fatal(err) } _, err = decodeForTest(raw) return err }