nixbuild/sample_pluiedev_pappardelle_test.go
Ophestra d3a8aed237
exec: replace global state with interface
This is cleaner, and finally enables writing tests for the nix invoking functions.
2025-07-17 16:53:00 +09:00

27 lines
741 B
Go

package nixbuild_test
import (
_ "embed"
)
// git+https://tangled.sh/@pluie.me/flake#pappardelle
var (
//go:embed testdata/pluiedev_pappardelle
pluiedevPappardelleOut string
pluiedevPappardelleInstantiated = sampleSplitPaths(pluiedevPappardelleInstantiatedRaw)
//go:embed testdata/instantiated/pluiedev_pappardelle
pluiedevPappardelleInstantiatedRaw string
//go:embed testdata/derivation/show_pluiedev_pappardelle.json
pluiedevPappardelleShow []byte
pluiedevPappardelleCollective = sampleSplitPaths(pluiedevPappardelleCollectiveRaw)
//go:embed testdata/derivation/collect_pluiedev_pappardelle
pluiedevPappardelleCollectiveRaw string
//go:embed testdata/format/stdin_pluiedev_pappardelle
pluiedevPappardelleStdin string
)