Sha256: 833cca9e3226fdc78e264f17fca45e77beb0b7ae87085d2a3f99cf8d3661cf21
Contents?: true
Size: 470 Bytes
Versions: 24
Compression:
Stored size: 470 Bytes
Contents
//test that parse(stringify(obj) deepEqu var ini = require('../') var test = require('tap').test var data = { 'number': {count: 10}, 'string': {drink: 'white russian'}, 'boolean': {isTrue: true}, 'nested boolean': {theDude: {abides: true, rugCount: 1}} } test('parse(stringify(x)) deepEqual x', function (t) { for (var k in data) { var s = ini.stringify(data[k]) console.log(s, data[k]) t.deepEqual(ini.parse(s), data[k]) } t.end() })
Version data entries
24 entries across 17 versions & 2 rubygems