25 lines
476 B
Go
25 lines
476 B
Go
package syntax
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"git.foosoft.net/alex/goldsmith"
|
|
"git.foosoft.net/alex/goldsmith/harness"
|
|
"git.foosoft.net/alex/goldsmith/plugins/frontmatter"
|
|
"git.foosoft.net/alex/goldsmith/plugins/layout"
|
|
"git.foosoft.net/alex/goldsmith/plugins/markdown"
|
|
)
|
|
|
|
func Test(self *testing.T) {
|
|
harness.Validate(
|
|
self,
|
|
func(gs *goldsmith.Goldsmith) {
|
|
gs.
|
|
Chain(frontmatter.New()).
|
|
Chain(markdown.New()).
|
|
Chain(New()).
|
|
Chain(layout.New())
|
|
},
|
|
)
|
|
}
|