Couple more errors found by linting

This commit is contained in:
Kovid Goyal
2022-09-21 19:51:09 +05:30
parent 4b6bae576d
commit 7c41737370
3 changed files with 4 additions and 3 deletions

View File

@@ -70,6 +70,9 @@ func TestRCSerialization(t *testing.T) {
t.Fatal(err)
}
raw, err := io_data.serializer(&rc)
if err != nil {
t.Fatal(err)
}
var ec utils.EncryptedRemoteControlCmd
err = json.Unmarshal([]byte(raw), &ec)
if err != nil {