Download this file
| 1 | package slidestest |
| 2 | |
| 3 | import ( |
| 4 | "strings" |
| 5 | "testing" |
| 6 | ) |
| 7 | |
| 8 | // Paul, 2026-11-19, of a Colophon link on the sign-in door: "That makes no |
| 9 | // sense at all." The open-source page stays under Help and stays public; the |
| 10 | // door does not link it. |
| 11 | func TestTheDoorDoesNotLinkTheColophon(t *testing.T) { |
| 12 | app, _ := newKeymailApp(t) |
| 13 | body := get(t, app, "/signin").Body.String() |
| 14 | if !strings.Contains(body, "estilo-door") { |
| 15 | t.Fatalf("/signin is not the door:\n%s", body) |
| 16 | } |
| 17 | if strings.Contains(body, `href="/help/open-source"`) { |
| 18 | t.Error("the sign-in door links the open-source page") |
| 19 | } |
| 20 | } |
| 21 | |