Skip to content

Commit

Permalink
propper node10 test
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinmetcalf committed Mar 11, 2015
1 parent 456236d commit b0aa652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var parseKeys = require('parse-asn1')
var test = require('tape')

function isNode10 () {
return process.version && process.version.split('.').length === 3 && parseInt(process.version.split('.')[1], 10) <= 10
return process.version && process.version.split('.').length === 3 && parseInt(process.version.split('.')[0].slice(1), 10) < 1 && parseInt(process.version.split('.')[1], 10) <= 10
}

fixtures.valid.rsa.forEach(function (f) {
Expand Down

0 comments on commit b0aa652

Please sign in to comment.