mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-27 14:47:50 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
52
spec/unsupported_lexers/wikitext/magic-link.txt
Normal file
52
spec/unsupported_lexers/wikitext/magic-link.txt
Normal file
@ -0,0 +1,52 @@
|
||||
---input---
|
||||
RFC 1
|
||||
RFC 2
|
||||
RFC 3f
|
||||
rfc 4
|
||||
PMID    114514
|
||||
ISBN 978-3-16-148410-0
|
||||
ISBN 978 3 16-148410 0
|
||||
https://example.com
|
||||
irc://example.com
|
||||
nolink://example.com
|
||||
|
||||
---tokens---
|
||||
'RFC 1' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'RFC 2' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'RFC' Text
|
||||
' ' Text
|
||||
'3f' Text
|
||||
'\n' Text
|
||||
|
||||
'rfc' Text
|
||||
' ' Text
|
||||
'4' Text
|
||||
'\n' Text
|
||||
|
||||
'PMID    114514' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'ISBN 978-3-16-148410-0' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'ISBN 978 3 16-148410 0' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'https://example.com' Name.Label
|
||||
'\n' Text
|
||||
|
||||
'irc://example.com' Name.Label
|
||||
'\n' Text
|
||||
|
||||
'nolink' Text
|
||||
':' Text
|
||||
'/' Text
|
||||
'/' Text
|
||||
'example' Text
|
||||
'.' Text
|
||||
'com' Text
|
||||
'\n' Text
|
Reference in New Issue
Block a user