trim rendering results to avoid comparing ending newlines
This commit is contained in:
parent
d5bf19a64f
commit
7d3ba895f5
@ -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());
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user