Skip to content

Commit

Permalink
Update semver-intersect.js
Browse files Browse the repository at this point in the history
  • Loading branch information
snyamathi authored Jun 19, 2017
1 parent 7982702 commit aa829c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/semver-intersect.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('createShorthand', () => {
const result = createShorthand('>=4.0.0-beta.1 <4.1.0');
expect(result).to.equal('~4.0.0-beta.1');
});
it('should simplify 0.14.x to ~0.14.0', () => {
it('should simplify 0.14.x to ^0.14.0', () => {
const result = createShorthand('>=0.14.0 <0.15.0');
expect(result).to.equal('^0.14.0');
});
Expand Down

0 comments on commit aa829c5

Please sign in to comment.