Skip to content

Commit

Permalink
Fix tests on firefox.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalerba committed Oct 26, 2016
1 parent 306f21d commit d5333b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/slider/slider.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ describe('MdSlider', () => {
expect(tickContainerDimensions.width)
.toBe(sliderDimensions.width - sliderDimensions.width * 6 / 8);
expect(tickContainerElement.style.background)
.toEqual(`repeating-linear-gradient(to right, black, black 2px, transparent 2px, ` +
.toContain(`repeating-linear-gradient(to right, black, black 2px, transparent 2px, ` +
`transparent ${sliderDimensions.width * 6 / 8 - 1}px)`);
});

Expand All @@ -348,7 +348,7 @@ describe('MdSlider', () => {
expect(tickContainerDimensions.width)
.toBe(sliderDimensions.width - sliderDimensions.width * 6 / 12);
expect(tickContainerElement.style.background)
.toEqual(`repeating-linear-gradient(to right, black, black 2px, transparent 2px, ` +
.toContain(`repeating-linear-gradient(to right, black, black 2px, transparent 2px, ` +
`transparent ${sliderDimensions.width * 6 / 12 - 1}px)`);
});
});
Expand Down

0 comments on commit d5333b6

Please sign in to comment.