diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-02 11:05:30 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-02 11:05:30 +0200 |
| commit | c176f81dc60d558edfe626ac805a0173c12f317d (patch) | |
| tree | 59706257e2e8b30b6dcec9ed609c5ff676524a5b /mardown/lexer_test.go | |
| parent | 597e15a5cde4127105ce7a6109d52491d6976be7 (diff) | |
feat(markdown): support * as unordered list
Diffstat (limited to 'mardown/lexer_test.go')
| -rw-r--r-- | mardown/lexer_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
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) + } } |
