summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/JSONStream/test/stringify.js
diff options
context:
space:
mode:
authorclaudiahdz <cghr1990@gmail.com>2019-11-18 21:01:39 +0200
committerMyles Borins <mylesborins@google.com>2019-11-20 19:16:47 -0500
commita7c7c703aff362f06ef5d49451a0f79fd289910f (patch)
tree48f9d01b32d55d420f229c4889a5a61178419223 /deps/npm/node_modules/JSONStream/test/stringify.js
parenta30a9f8193ddd61dfadc2d5d79784b682027b319 (diff)
downloadnode-new-a7c7c703aff362f06ef5d49451a0f79fd289910f.tar.gz
deps: upgrade npm to 6.13.1
PR-URL: https://github.com/nodejs/node/pull/30533 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'deps/npm/node_modules/JSONStream/test/stringify.js')
-rw-r--r--deps/npm/node_modules/JSONStream/test/stringify.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/npm/node_modules/JSONStream/test/stringify.js b/deps/npm/node_modules/JSONStream/test/stringify.js
index 20b9969575..b6de85ed25 100644
--- a/deps/npm/node_modules/JSONStream/test/stringify.js
+++ b/deps/npm/node_modules/JSONStream/test/stringify.js
@@ -13,7 +13,7 @@ var fs = require ('fs')
lies: true,
nothing: [null],
stuff: [Math.random(),Math.random(),Math.random()]
- }
+ }
: ['AOREC', 'reoubaor', {ouec: 62642}, [[[], {}, 53]]]
)
}
@@ -25,7 +25,7 @@ var expected = []
, called = 0
, count = 10
, ended = false
-
+
while (count --)
expected.push(randomObj())
@@ -34,7 +34,7 @@ while (count --)
stringify,
//JSONStream.parse([/./]),
es.writeArray(function (err, lines) {
-
+
it(JSON.parse(lines.join(''))).deepEqual(expected)
console.error('PASSED')
})