Skip to content

Commit 21f71e6

Browse files
committed
Fix code style
1 parent 6a43af4 commit 21f71e6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/jasmine/tests/plots_test.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -1346,7 +1346,7 @@ describe('Test Plots with automargin and minreducedwidth/height', function() {
13461346
expect(xy.getAttribute(attr)).toEqual(exp);
13471347
}
13481348

1349-
function assert_close(attr, exp) {
1349+
function assertClose(attr, exp) {
13501350
var xy = d3Select('rect.nsewdrag')[0][0];
13511351
expect(xy.getAttribute(attr)).toBeCloseTo(exp, -1);
13521352
}
@@ -1355,8 +1355,7 @@ describe('Test Plots with automargin and minreducedwidth/height', function() {
13551355

13561356
Plotly.newPlot(gd, fig)
13571357
.then(function() {
1358-
assert_close('height', '55');
1359-
1358+
assertClose('height', '55');
13601359
})
13611360
.then(function() {
13621361
return Plotly.relayout(gd, 'margin.minreducedheight', 100);

0 commit comments

Comments
 (0)