We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fe8ef5 commit 951f5aeCopy full SHA for 951f5ae
test/test.js
@@ -233,9 +233,8 @@ describe('proxy', () => {
233
it('runs very long subcommand chains', (done) => {
234
const fun = (unix() ? shell.$output : shell['%output%']);
235
const ret = fun.one.two.three.four.five.six('seven');
236
- // Note: newline should be '\n', because we're checking a JS string, not
237
- // something from the file system.
238
- ret.stdout.should.equal('one two three four five six seven\n');
+ const newline = (unix() ? '\n' : '\r\n');
+ ret.stdout.should.equal(`one two three four five six seven${newline}`);
239
ret.stderr.should.equal('');
240
ret.code.should.equal(0);
241
done();
0 commit comments