goldsmith/plugins/rule/rule_test.go
2024-02-16 22:35:49 -08:00

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"))
},
)
}