Alerting: Remove comments for fixed behavior (#58951)

This commit is contained in:
George Robinson 2022-11-23 14:37:15 +00:00 committed by GitHub
parent 2d8910d9de
commit c9286ff794
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,7 +226,6 @@ func TestConditionsCmd(t *testing.T) {
}, },
expected: func() mathexp.Results { expected: func() mathexp.Results {
v := newNumber(ptr.Float64(1)) v := newNumber(ptr.Float64(1))
// This too seems incorrect, looks like we don't call the evaluator
v.SetMeta([]EvalMatch{{Value: nil}}) v.SetMeta([]EvalMatch{{Value: nil}})
return newResults(v) return newResults(v)
}, },
@ -251,7 +250,6 @@ func TestConditionsCmd(t *testing.T) {
}, },
expected: func() mathexp.Results { expected: func() mathexp.Results {
v := newNumber(ptr.Float64(1)) v := newNumber(ptr.Float64(1))
// This seems incorrect
v.SetMeta([]EvalMatch{{Value: nil}}) v.SetMeta([]EvalMatch{{Value: nil}})
return newResults(v) return newResults(v)
}, },