oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1package equipo
2
3import (
4 "testing"
5
6 "amadan.net/oficina/equipo/internal/specialist"
7)
8
9// TestMenuCapabilitiesHaveWords: every capability on the closed menu has
10// its plain-language words in copy.go, which the specialist card shows.
11func TestMenuCapabilitiesHaveWords(t *testing.T) {
12 for _, p := range specialist.Profiles() {
13 for _, c := range p.Capabilities {
14 if key := specialist.Describe(c); key == "" || copyText(key) == "" {
15 t.Errorf("%s: no words for %s (key %q)", p.ID, c, key)
16 }
17 }
18 }
19}
20