Skip to content

Commit

Permalink
Apply 'standard' to test/big-numbers.js
Browse files Browse the repository at this point in the history
  • Loading branch information
pjohnmeyer authored and isaacs committed Oct 12, 2018
1 parent 7c2638f commit 8bcd207
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/big-numbers.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var semver = require('../')
test('long version is too long', function (t) {
var v = '1.2.' + new Array(256).join('1')
t.throws(function () {
new semver.SemVer(v)
new semver.SemVer(v) // eslint-disable-line no-new
})
t.equal(semver.valid(v, false), null)
t.equal(semver.valid(v, true), null)
Expand All @@ -15,7 +15,7 @@ test('long version is too long', function (t) {
test('big number is like too long version', function (t) {
var v = '1.2.' + new Array(100).join('1')
t.throws(function () {
new semver.SemVer(v)
new semver.SemVer(v) // eslint-disable-line no-new
})
t.equal(semver.valid(v, false), null)
t.equal(semver.valid(v, true), null)
Expand Down

0 comments on commit 8bcd207

Please sign in to comment.