diff options
| author | William Hergès <william@herges.fr> | 2025-10-05 15:33:45 +0200 |
|---|---|---|
| committer | William Hergès <william@herges.fr> | 2025-10-05 15:34:18 +0200 |
| commit | bce210d75a4552c5b144a5760ace4950c198f046 (patch) | |
| tree | 9f5fa1633744805813c5acc8816172e4c03f0c8f /markdown/ast_external_test.go | |
| parent | fa5ac4040e8e2fc57bef5c598e1ceda4c2fc0a73 (diff) | |
feat(markdown): smarter lexer for external
Diffstat (limited to 'markdown/ast_external_test.go')
| -rw-r--r-- | markdown/ast_external_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/markdown/ast_external_test.go b/markdown/ast_external_test.go index 19abf29..f3ac976 100644 --- a/markdown/ast_external_test.go +++ b/markdown/ast_external_test.go @@ -14,11 +14,13 @@ func TestExternal(t *testing.T) { } if string(got) != `<p><a href="href">content</a></p>` { t.Errorf("invalid value, got %s", got) + t.Logf("lexer %s", lxs.String()) } lxs = lex("") tree, err = ast(lxs) if err != nil { + t.Logf("lexer %s", lxs.String()) t.Fatal(err) } got, err = tree.Eval(nil) |
