More test fixes (see #1093)
This commit is contained in:
@@ -680,12 +680,12 @@ describe('ol.expr.lib', function() {
|
|||||||
var start = evaluate(counter);
|
var start = evaluate(counter);
|
||||||
|
|
||||||
it('increases the counter with every call', function() {
|
it('increases the counter with every call', function() {
|
||||||
expect(evaluate(counter).to.be(start + 1));
|
expect(evaluate(counter)).to.be(start + 1);
|
||||||
expect(evaluate(counter).to.be(start + 2));
|
expect(evaluate(counter)).to.be(start + 2);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('increases the counter, starting with a custom value', function() {
|
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);
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user