/*eslint-disable */

'use strict';

var should = require('should'),
    fs = require('fs'),
    path = require('path'),
    getRemoteContent = require('../index');

function compare(remotePath, fixturePath, done) {
    getRemoteContent(remotePath, function (err, css) {
        css.should.be.equal(String(fs.readFileSync(fixturePath)));

        done();
    });
}

describe('remote-content', function() {
    this.timeout(5000);
    
    it('Should get remote content from link tags in an HTML document', function(done) {
        compare('https://raw.githubusercontent.com/jonkemp/remote-content/master/test/fixtures/file.css', path.join('test', 'fixtures', 'file.css'), done);
    });
});

@@ -419,19 +419,16 @@
 out(
+1
 5000);%0A
-    
 %0A   

Increase timeout.