trim rendering results to avoid comparing ending newlines

This commit is contained in:
Dane Springmeyer 2014-09-25 14:56:29 -07:00
parent d5bf19a64f
commit 7d3ba895f5

View File

@ -34,7 +34,7 @@ helper.files('rendering-mss', 'mss', function(file) {
fs.writeFileSync(expected,output);
}
var expected_data = fs.readFileSync(expected).toString();
assert.equal(output,expected_data);
assert.equal(output.trim(),expected_data.trim());
});
});
});