upgrade osc-go library to v0.3.0 and handle new error cases

This commit is contained in:
Joel Wetzell
2026-04-14 07:28:06 -05:00
parent 36b085ef5c
commit f969d3484d
5 changed files with 19 additions and 5 deletions

View File

@@ -89,6 +89,14 @@ func TestBadOSCMessageEncode(t *testing.T) {
payload: "test",
errorString: "osc.message.encode processor only accepts an *OSCMessage",
},
{
name: "invalid OSC message argument",
payload: &osc.OSCMessage{
Address: "test",
Args: []osc.OSCArg{},
},
errorString: "osc.message.encode processor failed to encode OSCMessage: OSC Message address must start with /",
},
}
for _, test := range tests {