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
@ -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 New Issue
Block a user