Skip to content

Commit 36951e6

Browse files
committed
10.1 minor release
1 parent 35f5489 commit 36951e6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎coderoad/test/packagejson.test.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ describe("package.json", () => {
7171
)
7272
);
7373
});
74-
// 2.3
75-
it('should allow npm to update to any patch release of "moment"', () => {
74+
// 2.4
75+
it('should allow npm to update to any minor release of "moment"', () => {
7676
assert.ok(
77-
json.dependencies.moment.match(/^~/),
78-
'"moment" should specify a patch release with "~"'
77+
json.dependencies.moment.match(/^\^/),
78+
'"moment" should specify a minor release with "^"'
7979
);
8080
});
8181
});

0 commit comments

Comments
 (0)