aboutsummaryrefslogtreecommitdiff
path: root/markdown/ast_paragraph_test.go
blob: 46dd714468d037eca470274db6fa477f378ea691 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package markdown

import "testing"

func TestParagraph(t *testing.T) {
	c, err := Parse("bonsoir", nil)
	if err != nil {
		t.Fatal(err)
	}
	if c != "<p>bonsoir</p>" {
		t.Errorf("failed, got %s", c)
	}
}