style: go fmt with simplify

This commit is contained in:
bergquist
2017-01-27 15:21:02 +01:00
parent 1df9c2cab3
commit 46e4a54a6e
7 changed files with 27 additions and 28 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ func TestAlertingEvaluationHandler(t *testing.T) {
Convey("Show return false with not passing asdf", func() {
context := NewEvalContext(context.TODO(), &Rule{
Conditions: []Condition{
&conditionStub{firing: true, operator: "and", matches: []*EvalMatch{&EvalMatch{}, &EvalMatch{}}},
&conditionStub{firing: true, operator: "and", matches: []*EvalMatch{{}, {}}},
&conditionStub{firing: false, operator: "and"},
},
})