08-27-周三_17-09-29

This commit is contained in:
2025-08-27 17:10:05 +08:00
commit 86df397d8f
12735 changed files with 1145479 additions and 0 deletions

18
node_modules/jsonify/test/stringify.js generated vendored Normal file
View File

@@ -0,0 +1,18 @@
'use strict';
var test = require('tape');
var json = require('../');
var garbage = require('garbage');
test('stringify', function (t) {
for (var i = 0; i < 50; i++) {
var obj = garbage(50);
t.equal(
json.stringify(obj),
JSON.stringify(obj),
'comparing JSON.stringify to jsonify.stringify: run ' + (i + 1)
);
}
t.end();
});