diff options
author | Griffin Smith <grfn@gws.fyi> | 2021-03-28T15·05-0400 |
---|---|---|
committer | glittershark <grfn@gws.fyi> | 2021-03-28T17·07+0000 |
commit | db62866d820cf524b67cebe34033d3928804cf3c (patch) | |
tree | 5a68fa9f462eae8f08ad78c4383bb9b321866d5b /web/panettone/test/irc_test.lisp | |
parent | 1f250e374d9da401e60f2db02151af8f6bdb7c28 (diff) |
feat(web/panettone): Noping issue authors' usernames r/2355
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>
Diffstat (limited to 'web/panettone/test/irc_test.lisp')
-rw-r--r-- | web/panettone/test/irc_test.lisp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/web/panettone/test/irc_test.lisp b/web/panettone/test/irc_test.lisp new file mode 100644 index 000000000000..0224836cbc32 --- /dev/null +++ b/web/panettone/test/irc_test.lisp @@ -0,0 +1,5 @@ +(in-package :panettone.tests) +(declaim (optimize (safety 3))) + +(test noping-test + (is (not (equal "grfn" (panettone.irc:noping "grfn"))))) |