From 197f0d7ecd008d6c319e4c566cfebf48cb228a90 Mon Sep 17 00:00:00 2001 From: KITAITI Makoto Date: Sun, 17 May 2020 20:53:31 +0900 Subject: [PATCH] Add test for hash including ZWSP (#772) * Add test for hash including ZWSP * Run cargo fmt --- plume-common/src/utils.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/plume-common/src/utils.rs b/plume-common/src/utils.rs index d60db844..7759a25e 100644 --- a/plume-common/src/utils.rs +++ b/plume-common/src/utils.rs @@ -442,6 +442,7 @@ mod tests { ("not_a#hashtag", vec![]), ("#نرم‌افزار_آزاد", vec!["نرم‌افزار_آزاد"]), ("[#hash in link](https://example.org/)", vec![]), + ("#zwsp\u{200b}inhash", vec!["zwsp"]), ]; for (md, mentions) in tests {