diff options
Diffstat (limited to 'mardown/ast_paragraph_test.go')
| -rw-r--r-- | mardown/ast_paragraph_test.go | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/mardown/ast_paragraph_test.go b/mardown/ast_paragraph_test.go deleted file mode 100644 index 8daba99..0000000 --- a/mardown/ast_paragraph_test.go +++ /dev/null @@ -1,20 +0,0 @@ -package mardown - -import "testing" - -func TestParagraph(t *testing.T) { - content := "bonsoir" - 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 != "<p>bonsoir</p>" { - t.Errorf("failed, got %s", c) - t.Logf("lxs: %s\ntree: %s", lxs, tree) - } -} |
