tests for simple parsing of wikilinks in larger content blocks

main v0.0.4
Nick Dumas 1 year ago
parent 4235beff81
commit 17699a114c

@ -223,7 +223,9 @@ func Test_ObsidianWikilinks_LinksEndOfInput(t *testing.T) {
[]wikilink.Lexeme{ []wikilink.Lexeme{
{Typ: wikilink.LexText, Val: "this is a "}, {Typ: wikilink.LexText, Val: "this is a "},
}, },
nil, []wikilink.Lexeme{
{Typ: wikilink.LexText, Val: ""},
},
) )
t.Run(mut.name, test) t.Run(mut.name, test)
} }

Loading…
Cancel
Save