Skip to content

Commit

Permalink
Fix test-find-python.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Jul 17, 2019
1 parent ef81bdb commit 7cdca93
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test-find-python.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ test('find python', function (t) {
t.strictEqual(err, null)
var proc = execFile(found, ['-V'], function (err, stdout, stderr) {
t.strictEqual(err, null)
t.strictEqual(stdout, '')
t.ok(/Python 2/.test(stderr))
t.ok(/Python 2/.test(stderr) || /Python 3/.test(stdout))
})
proc.stdout.setEncoding('utf-8')
proc.stderr.setEncoding('utf-8')
Expand Down

0 comments on commit 7cdca93

Please sign in to comment.