From 96f395276f524105ff281c40413c883b55d3e9da Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Tue, 30 Sep 2025 21:40:34 +0200 Subject: fix(markdown): invalid modifier organization --- mardown/ast_test.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'mardown/ast_test.go') diff --git a/mardown/ast_test.go b/mardown/ast_test.go index 11a9639..6712497 100644 --- a/mardown/ast_test.go +++ b/mardown/ast_test.go @@ -17,4 +17,18 @@ func TestAst(t *testing.T) { t.Errorf("failed, got %s", c) t.Logf("lxs: %s\ntree: %s", lxs, tree) } + content = "***bon*soir**" + lxs = lex(content) + tree, err = ast(lxs) + if err != nil { + t.Fatal(err) + } + c, err = tree.Eval() + if err != nil { + t.Fatal(err) + } + if c != "

bonsoir

" { + t.Errorf("failed, got %s", c) + t.Logf("lxs: %s\ntree: %s", lxs, tree) + } } -- cgit v1.2.3