internal/pipewire: add json struct tags
All checks were successful
Test / Create distribution (push) Successful in 36s
Test / Sandbox (push) Successful in 2m26s
Test / Hakurei (push) Successful in 3m19s
Test / Hpkg (push) Successful in 4m11s
Test / Sandbox (race detector) (push) Successful in 4m23s
Test / Hakurei (race detector) (push) Successful in 5m12s
Test / Flake checks (push) Successful in 1m30s
All checks were successful
Test / Create distribution (push) Successful in 36s
Test / Sandbox (push) Successful in 2m26s
Test / Hakurei (push) Successful in 3m19s
Test / Hpkg (push) Successful in 4m11s
Test / Sandbox (race detector) (push) Successful in 4m23s
Test / Hakurei (race detector) (push) Successful in 5m12s
Test / Flake checks (push) Successful in 1m30s
These match the names found in documentation. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -34,7 +34,7 @@ func TestCoreInfo(t *testing.T) {
|
||||
Version: "1.4.7",
|
||||
Name: "pipewire-0",
|
||||
ChangeMask: pipewire.PW_CORE_CHANGE_MASK_PROPS,
|
||||
Props: &pipewire.SPADict{
|
||||
Properties: &pipewire.SPADict{
|
||||
{Key: "config.name", Value: "pipewire.conf"},
|
||||
{Key: "application.name", Value: "pipewire"},
|
||||
{Key: "application.process.binary", Value: "pipewire"},
|
||||
@@ -88,7 +88,7 @@ func TestCoreBoundProps(t *testing.T) {
|
||||
{"sample", samplePWContainer[1][1][1], pipewire.CoreBoundProps{
|
||||
ID: pipewire.PW_ID_CLIENT,
|
||||
GlobalID: 34,
|
||||
Props: &pipewire.SPADict{
|
||||
Properties: &pipewire.SPADict{
|
||||
{Key: "object.serial", Value: "34"},
|
||||
{Key: "module.id", Value: "2"},
|
||||
{Key: "pipewire.protocol", Value: "protocol-native"},
|
||||
|
||||
Reference in New Issue
Block a user