1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-24 14:23:18 +00:00
musix-oss/node_modules/rc/test/ini.js
2020-03-04 13:43:21 +02:00

17 lines
312 B
JavaScript

var cc =require('../lib/utils')
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})