Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
Merge pull request #189 from AlexeyKupershtokh/semver
Browse files Browse the repository at this point in the history
Fix semver usage
  • Loading branch information
Ron Korving committed Mar 12, 2013
2 parents 66b8116 + f7b7b3f commit aa5de36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test.exports.js
Expand Up @@ -53,8 +53,8 @@ if (semver.satisfies(zmq.version, '2.x')) {
]);
}

// 3.x only.
if (semver.satisfies(zmq.version, '3.x')) {
// 3.0 and above.
if (semver.gte(zmq.version, '3.0.0')) {
constants.concat([
'XPUB',
'XSUB',
Expand All @@ -64,7 +64,7 @@ if (semver.satisfies(zmq.version, '3.x')) {
}

// 3.2 and above.
if (semver.gte('3.2')) {
if (semver.gte(zmq.version, '3.2.0')) {
constants.concat([
'LAST_ENDPOINT'
]);
Expand Down

0 comments on commit aa5de36

Please sign in to comment.