internal/pipewire: move test data to files
All checks were successful
Test / Create distribution (push) Successful in 37s
Test / Sandbox (push) Successful in 2m25s
Test / Hakurei (push) Successful in 3m15s
Test / Hpkg (push) Successful in 4m9s
Test / Sandbox (race detector) (push) Successful in 4m21s
Test / Hakurei (race detector) (push) Successful in 5m10s
Test / Flake checks (push) Successful in 1m28s

These get very big later on, and would be painful to represent as the compound literal.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-11-25 08:09:10 +09:00
parent 88d3e46413
commit e77652bf89
8 changed files with 29 additions and 433 deletions

View File

@@ -0,0 +1,17 @@
package pipewire_test
import (
_ "embed"
)
var (
//go:embed testdata/00-sendmsg00-message00-header
sendmsg00Message00Header string
//go:embed testdata/01-sendmsg00-message00-POD
sendmsg00Message00POD string
//go:embed testdata/02-sendmsg00-message01-header
sendmsg00Message01Header string
//go:embed testdata/03-sendmsg00-message01-POD
sendmsg00Message01POD string
)