Skip to content

Commit c535c69

Browse files
author
Tom X. Tobin
committedJun 10, 2015
Fix two failing tests under io.js
Two tests were failing under io.js because the error message formatting has changed. Since io.js is the future Node.js, we'd have to fix this sooner or later. :-) See nodejs/node@bc2c85c and nodejs/node#212 for details.
1 parent 6596135 commit c535c69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎test/fromfile.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ describe('from file', function () {
4949
function () {
5050
args = parser.parseArgs(['@invalid']);
5151
},
52-
/ENOENT, no such file or directory/
52+
/ENOENT[:,] no such file or directory/
5353
);
5454
});
5555
it('test reading arguments from an missing file', function () {
5656
assert.throws(
5757
function () {
5858
args = parser.parseArgs(['@missing']);
5959
},
60-
/ENOENT, no such file or directory/
60+
/ENOENT[:,] no such file or directory/
6161
);
6262
});
6363
it('test custom convertArgLineToArgs function', function () {

0 commit comments

Comments
 (0)
Please sign in to comment.