Update for node 4 testing.

Changes to .travis.yml
Patch from @dceejay to make a test portable
Patch from @dceejay to correct a case where an int was expected
This commit is contained in:
Edward Vielmetti
2015-09-08 15:32:57 -04:00
parent f9e0420647
commit 005a98d020
3 changed files with 17 additions and 2 deletions

View File

@@ -457,7 +457,7 @@ describe('file Nodes', function() {
logEvents.should.have.length(1);
logEvents[0][0].should.have.a.property('msg');
//logEvents[0][0].msg.toString().should.equal("Error: ENOENT, open 'badfile'");
logEvents[0][0].msg.toString().should.startWith("Error: ENOENT, open");
logEvents[0][0].msg.toString().should.startWith("Error: ENOENT");
done();
},wait);
n1.receive({payload:""});