From aa829c57948972ab93152932b218db74b3c77674 Mon Sep 17 00:00:00 2001 From: Suneil Nyamathi Date: Mon, 19 Jun 2017 16:07:02 -0700 Subject: [PATCH] Update semver-intersect.js --- tests/unit/semver-intersect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/semver-intersect.js b/tests/unit/semver-intersect.js index 92a3989..d9e8a33 100644 --- a/tests/unit/semver-intersect.js +++ b/tests/unit/semver-intersect.js @@ -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'); });