remy / inliner

Node utility to inline images, CSS and JavaScript for a web page - useful for mobile sites
MIT License
1.1k stars 165 forks source link

Test comparing undefined with undefined. #145

Closed lucasmf closed 7 years ago

lucasmf commented 7 years ago

Hello,

I believe there's something wrong with the following test:

 t.equal(Inliner.version,
   require('../package.json').version, 'should have version');

package.json doesn't have a field named version , and I believe Inliner doesn't have also. So it ends up comparing undefined with undefined.

Thank you!

remy commented 7 years ago

Yup, good catch. That shouldn't be in there. I'll push up a fix.