Enable gofmt code simplification (#4887)
This commit is contained in:
committed by
Daniel Nelson
parent
4a311830c6
commit
ee056278f5
@@ -163,7 +163,7 @@ func TestCPUCountIncrease(t *testing.T) {
|
||||
|
||||
mps.On("CPUTimes").Return(
|
||||
[]cpu.TimesStat{
|
||||
cpu.TimesStat{
|
||||
{
|
||||
CPU: "cpu0",
|
||||
},
|
||||
}, nil)
|
||||
@@ -173,10 +173,10 @@ func TestCPUCountIncrease(t *testing.T) {
|
||||
|
||||
mps2.On("CPUTimes").Return(
|
||||
[]cpu.TimesStat{
|
||||
cpu.TimesStat{
|
||||
{
|
||||
CPU: "cpu0",
|
||||
},
|
||||
cpu.TimesStat{
|
||||
{
|
||||
CPU: "cpu1",
|
||||
},
|
||||
}, nil)
|
||||
|
||||
Reference in New Issue
Block a user