test: Switch to goimports instead of gofmt
see https://github.com/purpleidea/mgmt/pull/256#issuecomment-346360414
This commit is contained in:
committed by
James Shubin
parent
3575d597f7
commit
ac629404f4
@@ -44,16 +44,16 @@ func TestInitKindMetrics(t *testing.T) {
|
||||
// values are expected and actual count of metrics with
|
||||
// that name.
|
||||
expectedMetrics := map[string][2]int{
|
||||
"mgmt_checkapply_total": [2]int{
|
||||
"mgmt_checkapply_total": {
|
||||
16, 0,
|
||||
},
|
||||
"mgmt_failures_total": [2]int{
|
||||
"mgmt_failures_total": {
|
||||
4, 0,
|
||||
},
|
||||
"mgmt_failures": [2]int{
|
||||
"mgmt_failures": {
|
||||
4, 0,
|
||||
},
|
||||
"mgmt_resources": [2]int{
|
||||
"mgmt_resources": {
|
||||
2, 0,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user