mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
test: Trim cat output for windows
This commit is contained in:
@@ -44,7 +44,8 @@ function grandparent() {
|
||||
child.on('close', function(code, signal) {
|
||||
assert.equal(code, 0);
|
||||
assert.equal(signal, null);
|
||||
assert.equal(output, input);
|
||||
// cat on windows adds a \r\n at the end.
|
||||
assert.equal(output.trim(), input.trim());
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user