We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent1fe8ef5 commit951f5aeCopy full SHA for 951f5ae
test/test.js
@@ -233,9 +233,8 @@ describe('proxy', () => {
233
it('runs very long subcommand chains',(done)=>{
234
constfun=(unix() ?shell.$output :shell['%output%']);
235
constret=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');
+constnewline=(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();