Skip to content

Commit 2a8d38f

Browse files
committed
explicit test for #1264
1 parent 27037af commit 2a8d38f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/jasmine/tests/localize_test.js

+10
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,16 @@ describe('localization', function() {
219219
})
220220
.then(function() {
221221
expect(firstYLabel()).toBe('0p5');
222+
223+
return Plotly.relayout(gd, {'yaxis.tickformat': '.3f'});
224+
})
225+
.then(function() {
226+
expect(firstYLabel()).toBe('0p500');
227+
228+
return Plotly.relayout(gd, {separators: null});
229+
})
230+
.then(function() {
231+
expect(firstYLabel()).toBe('0D500');
222232
})
223233
.catch(failTest)
224234
.then(done);

0 commit comments

Comments
 (0)