From 17699a114c57721de613410372f28cb7924d5c33 Mon Sep 17 00:00:00 2001 From: Nick Dumas Date: Tue, 4 Jul 2023 08:51:41 -0400 Subject: [PATCH] tests for simple parsing of wikilinks in larger content blocks --- lexer_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lexer_test.go b/lexer_test.go index 45ec8f8..51e589a 100644 --- a/lexer_test.go +++ b/lexer_test.go @@ -223,7 +223,9 @@ func Test_ObsidianWikilinks_LinksEndOfInput(t *testing.T) { []wikilink.Lexeme{ {Typ: wikilink.LexText, Val: "this is a "}, }, - nil, + []wikilink.Lexeme{ + {Typ: wikilink.LexText, Val: ""}, + }, ) t.Run(mut.name, test) }