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.
18 lines
319 B
18 lines
319 B
11 years ago
|
|
||
|
var assert = require('assert');
|
||
|
|
||
|
module.exports = function (_, dir, finish, gm) {
|
||
|
if (!gm.integration)
|
||
|
return finish();
|
||
|
|
||
|
gm(dir + '/original.gif')
|
||
|
.format(function (err, type) {
|
||
|
if (err) return finish(err);
|
||
|
|
||
|
assert.equal(type, 'GIF');
|
||
|
assert.equal(this.data.format, 'GIF');
|
||
|
|
||
|
finish();
|
||
|
})
|
||
|
}
|