Merged from Mati s code

This commit is contained in:
Luis Fernando Molina committed 2018-05-06 21:40:43 +02:00
1 parent 221d92b726
commit 45c41273b5
1281 files changed
+222058

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
var test = require('tap').test;
var json = require('../');
var garbage = require('garbage');
test('parse', function (t) {
for (var i = 0; i < 50; i++) {
var s = JSON.stringify(garbage(50));
t.deepEqual(
json.parse(s),
JSON.parse(s)
);
}
t.end();
});