tvl-depot/web/panettone/test/irc_test.lisp
Griffin Smith db62866d82 feat(web/panettone): Noping issue authors' usernames
When sending irc notifications, insert a zero-width space after the
first character of the username of the author of issues, to prevent that
user from receiving a ping.

Fixes: b/95
Change-Id: Ibcacb45129b2cb99b587744eb61f4f1dbc0060d6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2693
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
2021-03-28 17:07:01 +00:00

5 lines
140 B
Common Lisp

(in-package :panettone.tests)
(declaim (optimize (safety 3)))
(test noping-test
(is (not (equal "grfn" (panettone.irc:noping "grfn")))))