diff --git a/lexer_test.go b/lexer_test.go index 2bc3225..a0a7293 100644 --- a/lexer_test.go +++ b/lexer_test.go @@ -66,6 +66,7 @@ func Test_Lexer(t *testing.T) { { name: "#heading", in: "[[#heading]]", expected: []wikilink.Lexeme{ {Typ: wikilink.LexOpenLink, Val: "[["}, + {Typ: wikilink.LexIdent, Val: ""}, {Typ: wikilink.LexHeading, Val: "#"}, {Typ: wikilink.LexIdent, Val: "heading"}, {Typ: wikilink.LexCloseLink, Val: "]]"},