From c176f81dc60d558edfe626ac805a0173c12f317d Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Thu, 2 Oct 2025 11:05:30 +0200 Subject: feat(markdown): support * as unordered list --- mardown/lexer_test.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mardown/lexer_test.go') diff --git a/mardown/lexer_test.go b/mardown/lexer_test.go index 8fe81cc..3ef87cc 100644 --- a/mardown/lexer_test.go +++ b/mardown/lexer_test.go @@ -23,4 +23,8 @@ func TestLex(t *testing.T) { if lxs.String() != `Lexers[literal(Xxx_DarkEmperor_xxX) ]` { t.Errorf("invalid lex, got %s", lxs) } + lxs = lex(`* list`) + if lxs.String() != `Lexers[list(*) literal( list) ]` { + t.Errorf("invalid lex, got %s", lxs) + } } -- cgit v1.2.3