Skip to content

Commit

Permalink
fixup: fix test for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
targos committed Jan 15, 2018
1 parent 5e37647 commit e7c8d07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-child-process-env.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
'use strict';
const common = require('../common');
const assert = require('assert');
const os = require('os');

const spawn = require('child_process').spawn;

Expand Down Expand Up @@ -59,5 +60,5 @@ process.on('exit', function() {
assert.ok(!response.includes('FOO='));
assert.ok(!response.includes('UNDEFINED=undefined'));
assert.ok(response.includes('NULL=null'));
assert.ok(response.includes('EMPTY=\n'));
assert.ok(response.includes(`EMPTY=${os.EOL}`));
});

1 comment on commit e7c8d07

@Gerhut
Copy link
Contributor

@Gerhut Gerhut commented on e7c8d07 Jan 15, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

Please sign in to comment.