mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-26 21:05:30 +00:00
fix test names
This commit is contained in:
@@ -58,7 +58,7 @@ func TestGoodJsonEncode(t *testing.T) {
|
|||||||
expected []byte
|
expected []byte
|
||||||
}{
|
}{
|
||||||
{
|
{
|
||||||
name: "hello",
|
name: "basic struct",
|
||||||
payload: osc.OSCMessage{
|
payload: osc.OSCMessage{
|
||||||
Address: "/hello",
|
Address: "/hello",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ func TestGoodStringDecode(t *testing.T) {
|
|||||||
expected string
|
expected string
|
||||||
}{
|
}{
|
||||||
{
|
{
|
||||||
name: "hello",
|
name: "basic string",
|
||||||
payload: []byte{0x68, 0x65, 0x6c, 0x6c, 0x6f},
|
payload: []byte{0x68, 0x65, 0x6c, 0x6c, 0x6f},
|
||||||
expected: "hello",
|
expected: "hello",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ func TestGoodStringEncode(t *testing.T) {
|
|||||||
expected []byte
|
expected []byte
|
||||||
}{
|
}{
|
||||||
{
|
{
|
||||||
name: "hello",
|
name: "basic string",
|
||||||
payload: "hello",
|
payload: "hello",
|
||||||
expected: []byte{0x68, 0x65, 0x6c, 0x6c, 0x6f},
|
expected: []byte{0x68, 0x65, 0x6c, 0x6c, 0x6f},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user