diff options
Diffstat (limited to 'node_modules/init-package-json/test/license.js')
-rw-r--r-- | node_modules/init-package-json/test/license.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/node_modules/init-package-json/test/license.js b/node_modules/init-package-json/test/license.js index 87333fbf8..8d8ae93dd 100644 --- a/node_modules/init-package-json/test/license.js +++ b/node_modules/init-package-json/test/license.js @@ -5,7 +5,9 @@ var common = require('./lib/common') test('license', function (t) { init(__dirname, '', {}, function (er, data) { - t.ok(!er, 'should not error') + if (er) + throw er + var wanted = { name: 'the-name', version: '1.0.0', @@ -15,7 +17,8 @@ test('license', function (t) { author: '', main: 'basic.js' } - t.same(data, wanted) + console.log('') + t.has(data, wanted) t.end() }) common.drive([ |