aboutsummaryrefslogtreecommitdiff
path: root/mardown/ast_quote_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'mardown/ast_quote_test.go')
-rw-r--r--mardown/ast_quote_test.go23
1 files changed, 0 insertions, 23 deletions
diff --git a/mardown/ast_quote_test.go b/mardown/ast_quote_test.go
deleted file mode 100644
index c3c7b3b..0000000
--- a/mardown/ast_quote_test.go
+++ /dev/null
@@ -1,23 +0,0 @@
-package mardown
-
-import "testing"
-
-func TestQuote(t *testing.T) {
- content := `
-> Bonsoir, je suis un **code**
-avec une source
-`
- 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 != `<div class="quote"><blockquote>Bonsoir, je suis un <b>code</b></blockquote><p>avec une source</p></div>` {
- t.Errorf("failed, got %s", c)
- t.Logf("lxs: %s\ntree: %s", lxs, tree)
- }
-}