InlineTags: Add a test for non-ascii words

This commit is contained in:
Vishesh Handa
2020-08-21 11:41:53 +02:00
parent b6f9c27bf1
commit 6078f7f7ef

View File

@ -30,7 +30,15 @@ void main() {
expect(tags, {'a', 'b'});
});
test('Non Ascii tags', () {
var body = "Hi #fíre gone";
var p = InlineTagsProcessor();
var tags = p.extractTags(body);
expect(tags, {'fíre'});
});
// + should work as a prefix
// @ should work as a prefix
// test for tags with non-ascii words
}