This is cleaner, and finally enables writing tests for the nix invoking functions.
25 lines
617 B
Go
25 lines
617 B
Go
package nixbuild_test
|
|
|
|
import _ "embed"
|
|
|
|
// github:getchoo/borealis#atlas
|
|
|
|
var (
|
|
//go:embed testdata/getchoo_atlas
|
|
getchooAtlasOut string
|
|
|
|
getchooAtlasInstantiated = sampleSplitPaths(getchooAtlasInstantiatedRaw)
|
|
//go:embed testdata/instantiated/getchoo_atlas
|
|
getchooAtlasInstantiatedRaw string
|
|
|
|
//go:embed testdata/derivation/show_getchoo_atlas.json
|
|
getchooAtlasShow []byte
|
|
|
|
getchooAtlasCollective = sampleSplitPaths(getchooAtlasCollectiveRaw)
|
|
//go:embed testdata/derivation/collect_getchoo_atlas
|
|
getchooAtlasCollectiveRaw string
|
|
|
|
//go:embed testdata/format/stdin_getchoo_atlas
|
|
getchooAtlasStdin string
|
|
)
|