--
This commit is contained in:
parent
24f3d27984
commit
6b60015c02
9588 changed files with 1149251 additions and 49 deletions
18
node_modules/config-chain/test/ini.js
generated
vendored
Normal file
18
node_modules/config-chain/test/ini.js
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
|
||||
var cc =require('..')
|
||||
var INI = require('ini')
|
||||
var assert = require('assert')
|
||||
|
||||
function test(obj) {
|
||||
|
||||
var _json, _ini
|
||||
var json = cc.parse (_json = JSON.stringify(obj))
|
||||
var ini = cc.parse (_ini = INI.stringify(obj))
|
||||
console.log(_ini, _json)
|
||||
assert.deepEqual(json, ini)
|
||||
}
|
||||
|
||||
|
||||
test({hello: true})
|
||||
|
||||
Loading…
Reference in a new issue