npm: Upgrade to 1.3.17
[platform/upstream/nodejs.git] / deps / npm / node_modules / npmconf / test / builtin.js
index 8142594..c5216ed 100644 (file)
@@ -34,7 +34,7 @@ var gcData = { 'package-config:foo': 'boo' }
 
 var biData = { 'builtin-config': true }
 
-var cli = { foo: 'bar' }
+var cli = { foo: 'bar', heading: 'foo', 'git-tag-version': false }
 
 var expectList =
 [ cli,
@@ -67,6 +67,8 @@ test('with builtin', function (t) {
     t.same(npmconf.rootConf.list, [])
     t.equal(npmconf.rootConf.root, npmconf.defs.defaults)
     t.equal(conf.root, npmconf.defs.defaults)
+    t.equal(conf.get('heading'), 'foo')
+    t.equal(conf.get('git-tag-version'), false)
     t.end()
   })
 })