More test fixes (see #1093)

This commit is contained in:
ahocevar
2013-10-03 14:39:30 -06:00
parent 62134f6ee2
commit 00a73a6188

View File

@@ -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);
});
});