package meshmoduleassignerclient import "testing" // The words are the wire's: a holder and a caller that spell one differently refuse each other's proposals. func TestOpsAndProposalStatesAreTheWire(t *testing.T) { for got, want := range map[string]string{OpPlace: "place", OpTakeOff: "take-off", OpPin: "pin", OpUnpin: "unpin", OpHold: "hold", OpUnhold: "unhold", OpDecide: "decide", OpConfig: "config", OpSeed: "seed", OpAddNode: "add-node", OpRemoveNode: "remove-node", ProposalAnswering: "answering", ProposalFailed: "failed", ProposalAsked: "asked"} { if got != want { t.Errorf("%q, want %q", got, want) } } }