14 lines
216 B
Go
14 lines
216 B
Go
package markdown_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"git.akyoto.dev/go/assert"
|
|
"git.akyoto.dev/go/markdown"
|
|
)
|
|
|
|
func TestRender(t *testing.T) {
|
|
html := markdown.Render("# Hello")
|
|
assert.Equal(t, html, "<h1>Hello</h1>")
|
|
}
|