diff --git a/test/spec/ol/expr/expression.test.js b/test/spec/ol/expr/expression.test.js index 9cbf40b516..2816365667 100644 --- a/test/spec/ol/expr/expression.test.js +++ b/test/spec/ol/expr/expression.test.js @@ -680,12 +680,12 @@ describe('ol.expr.lib', function() { var start = evaluate(counter); it('increases the counter with every call', function() { - expect(evaluate(counter).to.be(start + 1)); - expect(evaluate(counter).to.be(start + 2)); + expect(evaluate(counter)).to.be(start + 1); + expect(evaluate(counter)).to.be(start + 2); }); it('increases the counter, starting with a custom value', function() { - expect(evaluate(counterWithStart).to.be(start + 3 + 1000)); + expect(evaluate(counterWithStart)).to.be(start + 3 + 1000); }); });