Skip to content

Commit eaef185

Browse files
cjihrigarb
authored andcommitted
Merge pull request #110 from hapijs/travis
Added node 6.
2 parents 7040bf8 + 301b7b9 commit eaef185

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
language: node_js
22

33
node_js:
4-
- 4.0
5-
- 4
6-
- 5
4+
- "4"
5+
- "6"
76

87
sudo: false
9-

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@
1212
"node": ">=4.0.0"
1313
},
1414
"dependencies": {
15-
"hoek": "3.x.x"
15+
"hoek": "4.x.x"
1616
},
1717
"devDependencies": {
1818
"code": "2.x.x",
19-
"lab": "7.x.x",
20-
"markdown-toc": "0.11.x"
19+
"lab": "10.x.x",
20+
"markdown-toc": "0.12.x"
2121
},
2222
"scripts": {
2323
"test": "lab -a code -t 100 -L",
2424
"test-cov-html": "lab -a code -r html -o coverage.html -L",
2525
"toc": "node generate-toc.js",
26-
"version": "npm run toc && git add README.md"
26+
"postversion": "npm run toc && git commit -a --amend --no-edit"
2727
},
2828
"license": "BSD-3-Clause"
2929
}

test/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,11 +582,11 @@ describe('internal()', () => {
582582
it('returns an error with composite message', (done) => {
583583

584584
try {
585-
JSON.parse('{');
585+
x.foo();
586586
}
587587
catch (err) {
588588
const boom = Boom.internal('Someting bad', err);
589-
expect(boom.message).to.equal('Someting bad: Unexpected end of input');
589+
expect(boom.message).to.equal('Someting bad: x is not defined');
590590
expect(boom.isServer).to.be.true();
591591
done();
592592
}

0 commit comments

Comments
 (0)