Permalink
Browse files

Fix semver usage in tests

  • Loading branch information...
1 parent 5c1698a commit f7b7b3f475fcd1650cf20e87c2be3f0204be79e6 @AlexeyKupershtokh AlexeyKupershtokh committed Mar 11, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/test.exports.js
@@ -54,7 +54,7 @@ if (semver.satisfies(zmq.version, '2.x')) {
}
// 3.0 and above.
-if (semver.gte(zmq.version, '3.0')) {
+if (semver.gte(zmq.version, '3.0.0')) {
constants.concat([
'XPUB',
'XSUB',
@@ -64,7 +64,7 @@ if (semver.gte(zmq.version, '3.0')) {
}
// 3.2 and above.
-if (semver.gte(zmq.version, '3.2')) {
+if (semver.gte(zmq.version, '3.2.0')) {
constants.concat([
'LAST_ENDPOINT'
]);

0 comments on commit f7b7b3f

Please sign in to comment.