From f91e51c28ba01d5af73b1b83ae99875075cf5225 Mon Sep 17 00:00:00 2001 From: mike-000 <49240900+mike-000@users.noreply.github.com> Date: Thu, 30 Apr 2020 19:11:41 +0100 Subject: [PATCH] Test log2 function fix typo --- test/spec/ol/math.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }); });