mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-25 21:11:01 +00:00
Add test for hash including ZWSP (#772)
* Add test for hash including ZWSP * Run cargo fmt
This commit is contained in:
parent
3be842c653
commit
197f0d7ecd
1 changed files with 1 additions and 0 deletions
|
@ -442,6 +442,7 @@ mod tests {
|
||||||
("not_a#hashtag", vec![]),
|
("not_a#hashtag", vec![]),
|
||||||
("#نرمافزار_آزاد", vec!["نرمافزار_آزاد"]),
|
("#نرمافزار_آزاد", vec!["نرمافزار_آزاد"]),
|
||||||
("[#hash in link](https://example.org/)", vec![]),
|
("[#hash in link](https://example.org/)", vec![]),
|
||||||
|
("#zwsp\u{200b}inhash", vec!["zwsp"]),
|
||||||
];
|
];
|
||||||
|
|
||||||
for (md, mentions) in tests {
|
for (md, mentions) in tests {
|
||||||
|
|
Loading…
Reference in a new issue