Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #189 from AlexeyKupershtokh/semver

Fix semver usage
  • Loading branch information...
commit aa5de36d24b4e2ce35dba6fb728025b7e0edbdfb 2 parents 66b8116 + f7b7b3f
@ronkorving ronkorving authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/test.exports.js
View
6 test/test.exports.js
@@ -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',
@@ -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'
]);
Please sign in to comment.
Something went wrong with that request. Please try again.