Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed Oct 16, 2023
1 parent e5ad193 commit 03804bd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions internal/api/lib_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,8 @@ func TestFloats(t *testing.T) {
require.NoError(t, err)
require.Equal(t, "", qres.Err)
var instructions []string
json.Unmarshal(qres.Ok, &instructions)
err = json.Unmarshal(qres.Ok, &instructions)
require.NoError(t, err)
// little sanity check
require.Equal(t, 70, len(instructions))

Expand All @@ -1124,7 +1125,8 @@ func TestFloats(t *testing.T) {
require.NoError(t, err)
require.Equal(t, "", qres.Err)
var args []Value
json.Unmarshal(qres.Ok, &args)
err = json.Unmarshal(qres.Ok, &args)
require.NoError(t, err)

// build the run message
argStr, err := json.Marshal(args)
Expand Down

0 comments on commit 03804bd

Please sign in to comment.