Skip to content

Commit 1581681

Browse files
committed
number literal will lose precision at runtime no-loss-of-precision
1 parent 7ccc9e8 commit 1581681

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test/jasmine/tests/choropleth_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ describe('Test choropleth hover:', function() {
321321
data: [{
322322
type: 'choropleth',
323323
locations: ['RUS'],
324-
z: [10.02132132143214321]
324+
z: [10.021321321432143]
325325
}]
326326
};
327327
};

test/jasmine/tests/mapbox_test.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -1027,11 +1027,11 @@ describe('mapbox plots', function() {
10271027
geometry: {
10281028
type: 'Polygon',
10291029
coordinates: [[
1030-
[174.74475860595703, -36.86533886128865],
1031-
[174.77737426757812, -36.86533886128865],
1032-
[174.77737426757812, -36.84913134182603],
1033-
[174.74475860595703, -36.84913134182603],
1034-
[174.74475860595703, -36.86533886128865]
1030+
[174.7447586059570, -36.86533886128865],
1031+
[174.7773742675781, -36.86533886128865],
1032+
[174.7773742675781, -36.84913134182603],
1033+
[174.7447586059570, -36.84913134182603],
1034+
[174.7447586059570, -36.86533886128865]
10351035
]]
10361036
}
10371037
}

0 commit comments

Comments
 (0)