Skip to content

Commit

Permalink
Fix complex query benchmark.
Browse files Browse the repository at this point in the history
Refs #586
  • Loading branch information
echlebek committed Nov 23, 2017
1 parent 5662f43 commit e8bed18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/dynamic/dynamic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ func BenchmarkQueryGovaluateComplex(b *testing.B) {
attrs: Attributes{data: []byte(`{"hello":{"foo":5,"bar":6.0}}`)},
}

expr, err := govaluate.NewEvaluableExpression("hello.Foo == 5")
expr, err := govaluate.NewEvaluableExpression("hello.foo < hello.bar")
require.NoError(b, err)
require.NotNil(b, expr)
b.ResetTimer()
Expand Down

0 comments on commit e8bed18

Please sign in to comment.