goldsmith/plugins/layout/layout_test.go

21 lines
346 B
Go
Raw Normal View History

2024-02-17 06:35:49 +00:00
package layout
import (
"testing"
"git.foosoft.net/alex/goldsmith"
"git.foosoft.net/alex/goldsmith/harness"
"git.foosoft.net/alex/goldsmith/plugins/frontmatter"
)
func Test(self *testing.T) {
harness.Validate(
self,
func(gs *goldsmith.Goldsmith) {
gs.
Chain(frontmatter.New()).
Chain(New().DefaultLayout("page"))
},
)
}