Skip to content

Commit

Permalink
explicit test for #1264
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcjohnson committed Dec 15, 2017
1 parent 27037af commit 2a8d38f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/jasmine/tests/localize_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,16 @@ describe('localization', function() {
})
.then(function() {
expect(firstYLabel()).toBe('0p5');

return Plotly.relayout(gd, {'yaxis.tickformat': '.3f'});
})
.then(function() {
expect(firstYLabel()).toBe('0p500');

return Plotly.relayout(gd, {separators: null});
})
.then(function() {
expect(firstYLabel()).toBe('0D500');
})
.catch(failTest)
.then(done);
Expand Down

0 comments on commit 2a8d38f

Please sign in to comment.