23 lines
317 B
Go
23 lines
317 B
Go
|
package sideload
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"embed"
|
||
|
|
||
|
"git.foosoft.net/alex/goldsmith"
|
||
|
"git.foosoft.net/alex/goldsmith/harness"
|
||
|
)
|
||
|
|
||
|
//go:embed testdata/source
|
||
|
var embedFs embed.FS
|
||
|
|
||
|
func Test(self *testing.T) {
|
||
|
harness.Validate(
|
||
|
self,
|
||
|
func(gs *goldsmith.Goldsmith) {
|
||
|
gs.Chain(New().FileSystems(embedFs))
|
||
|
},
|
||
|
)
|
||
|
}
|