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

Version Path
hooch-0.4.2 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/ini/test/bar.js
hooch-0.4.1 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/ini/test/bar.js
hooch-0.4.0 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/ini/test/bar.js
hooch-0.3.0 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/ini/test/bar.js
hooch-0.2.1 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/ini/test/bar.js
hooch-0.2.0 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/ini/test/bar.js
hooch-0.1.0 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/ini/test/bar.js
hooch-0.0.8 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/ini/test/bar.js
hooch-0.0.7 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/ini/test/bar.js
hooch-0.0.6 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/ini/test/bar.js
entangled-0.0.16 spec/dummy/public/node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/npmconf/node_modules/ini/test/bar.js
entangled-0.0.16 spec/dummy/public/node_modules/phantomjs/node_modules/npmconf/node_modules/ini/test/bar.js
entangled-0.0.15 spec/dummy/public/node_modules/phantomjs/node_modules/npmconf/node_modules/ini/test/bar.js
entangled-0.0.15 spec/dummy/public/node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/npmconf/node_modules/ini/test/bar.js
entangled-0.0.14 spec/dummy/public/node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/npmconf/node_modules/ini/test/bar.js
entangled-0.0.14 spec/dummy/public/node_modules/phantomjs/node_modules/npmconf/node_modules/ini/test/bar.js
entangled-0.0.13 spec/dummy/public/node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/npmconf/node_modules/ini/test/bar.js
entangled-0.0.13 spec/dummy/public/node_modules/phantomjs/node_modules/npmconf/node_modules/ini/test/bar.js
entangled-0.0.12 spec/dummy/public/node_modules/phantomjs/node_modules/npmconf/node_modules/ini/test/bar.js
entangled-0.0.12 spec/dummy/public/node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/npmconf/node_modules/ini/test/bar.js