diff --git a/test/spec/ol/math.test.js b/test/spec/ol/math.test.js index 77988f89ac..60f0ba9d14 100644 --- a/test/spec/ol/math.test.js +++ b/test/spec/ol/math.test.js @@ -75,7 +75,7 @@ describe('ol.math.log2', function () { }); it('returns the correct value at -1', function () { - expect(log2(0)).to.eql(NaN); + expect(log2(-1)).to.eql(NaN); }); });