mesh/delivery-group group feat/sdk1 rejected: composed together: the checker's verdict at the members' heads (428d048dd50a): unit: git.novox.be/novox/mesh-sdk/…
mesh/delivery closed: a newer head of the same pull request
mesh/check failed: unit: git.novox.be/novox/mesh-sdk/go/process.TestStatePutWritesAKeyWhole: a Put through a short blackout: 0, mesh-mail's state send…
Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL
20 lines
558 B
Go
20 lines
558 B
Go
package catalogue
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
// Defends novox/hq ADR 0212: a seat says what it receives, its holder places it, and a contribution
|
|
// depends on the seat.
|
|
|
|
func TestTheHotkeysSeatIsTheMeshsAndReceivesTriggers(t *testing.T) {
|
|
s, ok := SeatNamed(HotkeysSeat)
|
|
if !ok || s.Scope != ScopeNode || len(s.Receives) != 1 || s.Receives[0].Kind != "trigger" {
|
|
t.Fatalf("%+v %v", s, ok)
|
|
}
|
|
d, _ := SeatNamed(DisplaySessionSeat)
|
|
if len(d.Receives) != 1 || d.Receives[0].Kind != "config" {
|
|
t.Fatalf("the display session receives %+v", d.Receives)
|
|
}
|
|
}
|