You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wikilinks-parser/lexer/lexer_test.go

30 lines
554 B
Go

2 years ago
package lexer
import (
"testing"
)
func Test_Lexer(t *testing.T) {
tt := []string{
"[[Regular Link]]",
/*
"![[Transcluded Link]]",
"[[Regular Link|Alias]]",
"[[Regular Link#Subsection of page]]",
"[[Regular Link^link to block]]",
"[[Regular Link#Subsection of page|Alias]]",
"[[Regular Link^link to block|Alias]]",
"[[Regular Link\|Alias]]",
"[[Regular Link^link to block\|Alias]]",
"[[Regular Link#Subsection of page\|Alias]]",
*/
}
for _, tc := range tt {
t.Run(tc, func(t *testing.T) {
t.Fail()
})
}
}