use GetStringSlice in osc.message.create

This commit is contained in:
Joel Wetzell
2026-03-02 12:02:27 -06:00
parent cd264d9ed4
commit b5ffee022a
2 changed files with 32 additions and 39 deletions

View File

@@ -211,7 +211,7 @@ func TestBadOSCMessageCreate(t *testing.T) {
"types": "s",
},
payload: "test",
errorString: "osc.message.create address must be an array found string",
errorString: "osc.message.create args error: not a slice",
},
{
name: "args without types parameter",
@@ -240,7 +240,7 @@ func TestBadOSCMessageCreate(t *testing.T) {
"types": "ss",
},
payload: "test",
errorString: "osc.message.create arg error: not a string",
errorString: "osc.message.create args error: element at index 1 is not a string",
},
{
name: "bad arg template",