Fix cli test
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
This commit is contained in:
parent
2ce531c0e8
commit
e28bfc0d1c
1 changed files with 2 additions and 2 deletions
|
@ -102,8 +102,8 @@ t.test('simple.log doesnotexist1.log doesnotexist2.log', async function () {
|
|||
// io.js 2.2 (at least):
|
||||
// ENOENT: no such file or directory, open 'doesnotexist1.log'
|
||||
let matches = [
|
||||
/^bunyan: ENOENT.*?, open '.+doesnotexist1.log'/m,
|
||||
/^bunyan: ENOENT.*?, open '.+doesnotexist2.log'/m,
|
||||
/^bunyan: ENOENT.*?, open '[^']*doesnotexist1.log'/m,
|
||||
/^bunyan: ENOENT.*?, open '[^']*doesnotexist2.log'/m,
|
||||
];
|
||||
matches.forEach(function (match) {
|
||||
assert.match(res.stderr, match);
|
||||
|
|
Loading…
Reference in a new issue