Skip to content

Commit

Permalink
Updates for node 6
Browse files Browse the repository at this point in the history
  • Loading branch information
arb committed May 6, 2016
1 parent 18e27fd commit 301b7b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@
"node": ">=4.0.0"
},
"dependencies": {
"hoek": "3.x.x"
"hoek": "4.x.x"
},
"devDependencies": {
"code": "2.x.x",
"lab": "7.x.x",
"markdown-toc": "0.11.x"
"lab": "10.x.x",
"markdown-toc": "0.12.x"
},
"scripts": {
"test": "lab -a code -t 100 -L",
"test-cov-html": "lab -a code -r html -o coverage.html -L",
"toc": "node generate-toc.js",
"version": "npm run toc && git add README.md"
"postversion": "npm run toc && git add README.md"
},
"license": "BSD-3-Clause"
}
4 changes: 2 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -582,11 +582,11 @@ describe('internal()', () => {
it('returns an error with composite message', (done) => {

try {
JSON.parse('{');
x.foo();
}
catch (err) {
const boom = Boom.internal('Someting bad', err);
expect(boom.message).to.equal('Someting bad: Unexpected end of input');
expect(boom.message).to.equal('Someting bad: x is not defined');
expect(boom.isServer).to.be.true();
done();
}
Expand Down

0 comments on commit 301b7b9

Please sign in to comment.