Skip to content

Commit

Permalink
tests: run express 4.x tests on Node.js 0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Sep 27, 2019
1 parent 19b90c4 commit c3826ee
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/4.x/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ hbs.registerPartials(__dirname + '/views/partials');
var app = null

before(function () {
if (utils.nodeVersionCompare(0.10) <= 0) {
if (utils.nodeVersionCompare(0.10) < 0) {
this.skip()
return
}
Expand Down
2 changes: 1 addition & 1 deletion test/4.x/async_helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var app = null
suite('express 4.x async helpers')

before(function () {
if (utils.nodeVersionCompare(0.10) <= 0) {
if (utils.nodeVersionCompare(0.10) < 0) {
this.skip()
return
}
Expand Down
2 changes: 1 addition & 1 deletion test/4.x/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var utils = require('../support/utils')
suite('express 4.x')

before(function (done) {
if (utils.nodeVersionCompare(0.10) <= 0) {
if (utils.nodeVersionCompare(0.10) < 0) {
this.skip()
return done()
}
Expand Down
2 changes: 1 addition & 1 deletion test/4.x/no_layout_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var app = null
suite('express 4.x no layout')

before(function () {
if (utils.nodeVersionCompare(0.10) <= 0) {
if (utils.nodeVersionCompare(0.10) < 0) {
this.skip()
return
}
Expand Down
2 changes: 1 addition & 1 deletion test/4.x/view_engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var app = null
suite('express 4.x view engine')

before(function () {
if (utils.nodeVersionCompare(0.10) <= 0) {
if (utils.nodeVersionCompare(0.10) < 0) {
this.skip()
return
}
Expand Down

0 comments on commit c3826ee

Please sign in to comment.