summaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/scripts-whitespace-windows.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/test/tap/scripts-whitespace-windows.js')
-rw-r--r--deps/npm/test/tap/scripts-whitespace-windows.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/deps/npm/test/tap/scripts-whitespace-windows.js b/deps/npm/test/tap/scripts-whitespace-windows.js
index 27a04601c7..4d1e53a8f5 100644
--- a/deps/npm/test/tap/scripts-whitespace-windows.js
+++ b/deps/npm/test/tap/scripts-whitespace-windows.js
@@ -21,7 +21,7 @@ var json = {
description: 'a test',
repository: 'git://github.com/robertkowalski/bogus',
scripts: {
- foo: 'foo --title \"Analysis of\" --recurse -d report src'
+ foo: 'foo --title "Analysis of" --recurse -d report src'
},
dependencies: {
'scripts-whitespace-windows-dep': '0.0.1'
@@ -35,8 +35,6 @@ var dependency = {
bin: [ 'bin/foo' ]
}
-var extend = Object.assign || require('util')._extend
-
var foo = function () { /*
#!/usr/bin/env node
@@ -65,7 +63,7 @@ test('setup', function (t) {
common.npm(['i', dep], {
cwd: pkg,
- env: extend({
+ env: Object.assign({
npm_config_cache: cache,
npm_config_tmp: tmp,
npm_config_prefix: pkg,