Skip to content

Commit

Permalink
Merge pull request #698 from aheckmann/fix_tests
Browse files Browse the repository at this point in the history
fix tests
  • Loading branch information
aheckmann authored Dec 28, 2017
2 parents 0286f47 + b4db5a1 commit e715cbd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ before_install:
- sudo apt-get install imagemagick graphicsmagick
language: node_js
node_js:
- "8"
- "6"
- "4"
- "0.10"
- "0.12"
- "iojs-v2"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"license": "MIT",
"devDependencies": {
"async": "~0.9.0",
"nsp": "^3"
"nsp": "^2.8.1"
},
"dependencies": {
"array-parallel": "~0.1.3",
Expand Down
6 changes: 3 additions & 3 deletions test/getterIdentify.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ module.exports = function (_, dir, finish, gm) {
assert.equal(d.Orientation, 'TopLeft');
assert.equal(d['Geometry'], '430x488+0+0');
assert.equal(d['Print size'], '5.97222x6.77778');
assert.equal(d['Channel depth'].Red, '8-bit');
assert.equal(d['Channel depth'].Green, '8-bit');
assert.equal(d['Channel statistics'].Red.min, '0 (0)');
assert.ok(d['Channel depth'].Red || d['Channel depth'].red);
assert.ok(d['Channel depth'].Green || d['Channel depth'].green);
assert.ok(/0\s+\(0\)/.test(d['Channel statistics'].Red.min));

var sd = d['Channel statistics'].Red['standard deviation'].split(' ')
var sd1 = parseFloat(sd[0])
Expand Down

0 comments on commit e715cbd

Please sign in to comment.