mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-26 21:05:30 +00:00
upgrade osc-go library to v0.3.0 and handle new error cases
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user