feat(alerting): fixing failing go unit test

This commit is contained in:
Torkel Ödegaard
2016-08-16 10:22:16 +02:00
parent 65ce01fbff
commit 6b90587d27
2 changed files with 18 additions and 2 deletions
@@ -18,7 +18,7 @@ func TestQueryCondition(t *testing.T) {
queryConditionScenario("Given avg() and > 100", func(ctx *queryConditionTestContext) {
ctx.reducer = `{"type": "avg"}`
ctx.evaluator = `{"type": "gt "params": [100]}`
ctx.evaluator = `{"type": "gt", "params": [100]}`
Convey("Can read query condition from json model", func() {
ctx.exec()