test: Switch to goimports instead of gofmt

see https://github.com/purpleidea/mgmt/pull/256#issuecomment-346360414
This commit is contained in:
Guillaume Herail
2017-11-24 16:07:17 +01:00
committed by James Shubin
parent 3575d597f7
commit ac629404f4
4 changed files with 17 additions and 8 deletions

View File

@@ -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,
},
}