mirror of https://github.com/nodejs/node.git
11 lines
146 B
JavaScript
11 lines
146 B
JavaScript
|
|
||
|
|
||
|
var cc = require('..')
|
||
|
var assert = require('assert')
|
||
|
|
||
|
|
||
|
//throw on invalid json
|
||
|
assert.throws(function () {
|
||
|
cc(__dirname + '/broken.json')
|
||
|
})
|