mirror of https://gitgud.io/fatchan/gm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
344 B
17 lines
344 B
|
|
var assert = require('assert')
|
|
var fs = require('fs');
|
|
|
|
module.exports = function (_, dir, finish, gm) {
|
|
var m = gm(dir + '/original.gif[0]')
|
|
|
|
if (!gm.integration)
|
|
return finish();
|
|
|
|
m.identify('%n', function (err, stdout) {
|
|
if (err) return finish(err);
|
|
|
|
assert.equal(parseInt(stdout.toString(), 10), 1);
|
|
finish();
|
|
})
|
|
}
|
|
|