23 lines
418 B
Go
23 lines
418 B
Go
|
package rule
|
||
|
|
||
|
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"
|
||
|
)
|
||
|
|
||
|
func Test(self *testing.T) {
|
||
|
harness.Validate(
|
||
|
self,
|
||
|
func(gs *goldsmith.Goldsmith) {
|
||
|
gs.
|
||
|
Chain(New()).
|
||
|
Chain(frontmatter.New()).
|
||
|
Chain(layout.New().DefaultLayout("page"))
|
||
|
},
|
||
|
)
|
||
|
}
|