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/wire"
7)
8
9// The Assistant reading the person's file shows its own line, not the
10// generic one (assistant attachments spec A3).
11func TestActivityLabelReadAttachment(t *testing.T) {
12 got := activityLabel(wire.Activity{Kind: wire.ActivityTool, Tool: wire.ToolReadAttachment}, wire.TurnPerson, "")
13 if got != "Reading your file…" || got == copyText("chat.activity.other") {
14 t.Fatalf("label %q", got)
15 }
16}
17