mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 07:27:22 +01:00
a56da51a38
In preparation for stricter linting, remove extra spaces. PR-URL: https://github.com/nodejs/node/pull/6645 Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Roman Reiss <me@silverwind.io>
11 lines
292 B
JavaScript
11 lines
292 B
JavaScript
'use strict';
|
|
require('../common');
|
|
const assert = require('assert');
|
|
const vm = require('vm');
|
|
|
|
assert.doesNotThrow(function() {
|
|
var context = vm.createContext({ process: process });
|
|
var result = vm.runInContext('process.env["PATH"]', context);
|
|
assert.notEqual(undefined, result);
|
|
});
|