Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Joan López de la Franca Beltran <5459617+joanlopez@users.noreply.github.com>
  • Loading branch information
mstoykov and joanlopez authored May 23, 2024
1 parent ebbf64c commit 8321b07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/v1/group_routes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func TestGetGroups(t *testing.T) {
t.Parallel()

cs := getControlSurface(t, getTestRunState(t, lib.Options{}, &minirunner.MiniRunner{}))
_ = cs.RunState.GroupSummary.Start()
require.NoError(t, cs.RunState.GroupSummary.Start())

Check failure on line 69 in api/v1/group_routes_test.go

View workflow job for this annotation

GitHub Actions / lint

File is not `gofmt`-ed with `-s` (gofmt)
cs.RunState.GroupSummary.AddMetricSamples([]metrics.SampleContainer{
metrics.Sample{
TimeSeries: metrics.TimeSeries{
Expand All @@ -87,7 +87,7 @@ func TestGetGroups(t *testing.T) {
},
},
})
_ = cs.RunState.GroupSummary.Stop()
require.NoError(t, cs.RunState.GroupSummary.Stop())

g0, err := lib.NewGroup("", nil)
assert.NoError(t, err)
Expand Down

0 comments on commit 8321b07

Please sign in to comment.