Initial commit
This commit is contained in:
13
Render_test.go
Normal file
13
Render_test.go
Normal file
@ -0,0 +1,13 @@
|
||||
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>")
|
||||
}
|
Reference in New Issue
Block a user