Skip to content

Commit

Permalink
image: improve accuracy of test's description by 🔪 the word "only"
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinerg committed Oct 29, 2019
1 parent 4233619 commit 408b46b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/jasmine/tests/image_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ describe('image smart layout defaults', function() {

afterEach(destroyGraphDiv);

it('should reverse yaxis if only images are present', function() {
it('should reverse yaxis if images are present', function() {
gd = {};
gd.data = [{type: 'image', z: [[[255, 0, 0]]]}];
supplyAllDefaults(gd);
Expand All @@ -131,7 +131,7 @@ describe('image smart layout defaults', function() {
expect(gd._fullLayout.yaxis.autorange).toBe(false);
});

it('should set scaleanchor to make square pixels if only images are present', function() {
it('should set scaleanchor to make square pixels if images are present', function() {
gd = {};
gd.data = [{type: 'image', z: [[[255, 0, 0]]]}];
supplyAllDefaults(gd);
Expand All @@ -152,7 +152,7 @@ describe('image smart layout defaults', function() {
expect(gd._fullLayout.yaxis.scaleanchor).toBe(undefined);
});

it('should constrain axes to domain if only images are present', function() {
it('should constrain axes to domain if images are present', function() {
gd = {};
gd.data = [{type: 'image', z: [[[255, 0, 0]]]}];
supplyAllDefaults(gd);
Expand Down

0 comments on commit 408b46b

Please sign in to comment.