{"draft":null,"from":32,"to":33,"files":[{"path":"client/test/times.test.ts","added":20,"removed":2,"diff":"--- a/client/test/times.test.ts\n+++ b/client/test/times.test.ts\n@@ -21,15 +21,33 @@\n \tconst at = Date.parse(\"2026-10-08T08:34:00Z\");\n \tassert.equal(\n \t\tnewsWithTime(\"Announcement from ann (as claimed): Split api.ts\", at, now),\n-\t\t\"Announcement from ann (as claimed), 08:34 UTC: Split api.ts\",\n+\t\t\"ann (as claimed) told you, 08:34 UTC:\\nSplit api.ts\",\n \t);\n \tassert.equal(\n \t\tnewsWithTime('Announcement from C (a person, signed in on the website, id cf-1): \"hi\"', at, now),\n-\t\t'Announcement from C (a person, signed in on the website, id cf-1), 08:34 UTC: \"hi\"',\n+\t\t\"C (a person) told you, 08:34 UTC:\\nhi\",\n \t);\n \tassert.equal(\n+\t\tnewsWithTime(\"Announcement from ann (as claimed): Split api.ts\", null, now),\n+\t\t\"ann (as claimed) told you:\\nSplit api.ts\",\n+\t);\n+\tassert.equal(\n \t\tnewsWithTime('w1 published \"x\" (version 3), which changes a.txt line 2', at, now),\n \t\t'w1 published \"x\" (version 3), which changes a.txt line 2 (08:34 UTC)',\n \t);\n \tassert.equal(newsWithTime(\"from before times\", null, now), \"from before times\");\n });\n+\n+test(\"a tell is shown as who told you and how sure that is, with what was said below\", () => {\n+\tconst shown = (text: string) => newsWithTime(text, null, now);\n+\tassert.equal(shown(\"Announcement from ann (key k_0123abcd): Go\"), \"ann (checked) told you:\\nGo\");\n+\tassert.equal(shown(\"Announcement from ann (key k_0123abcd, box b7): Go\"), \"ann (checked, box b7) told you:\\nGo\");\n+\tassert.equal(shown(\"Announcement from ann (shared token): Go\"), \"ann (as claimed) told you:\\nGo\");\n+\t// A person's words are unquoted, line breaks and all; their id is left out.\n+\tconst person = shown(\n+\t\t`Announcement from Robin Ash (a person, signed in on the website, id cf-9): ${JSON.stringify('Two\\nlines \"here\"')}`,\n+\t);\n+\tassert.equal(person, 'Robin Ash (a person) told you:\\nTwo\\nlines \"here\"');\n+\t// Anything else that starts the same way is other news, shown as it is.\n+\tassert.equal(shown(\"Announcement from ann (made up): Go\"), \"Announcement from ann (made up): Go\");\n+});"}],"unmatched":[]}