Alerting: Change TestConditionsCmd to assert on mathexp.Results (#58434)

This commit is contained in:
George Robinson
2022-11-09 16:07:43 +00:00
committed by GitHub
parent 33f02839f0
commit acfa066ba2
2 changed files with 246 additions and 254 deletions

View File

@@ -11,6 +11,10 @@ type Results struct {
Values Values
}
func NewResults(values ...Value) Results {
return Results{Values: values}
}
// Values is a slice of Value interfaces
type Values []Value