Fix cli test
continuous-integration/appveyor/branch AppVeyor build succeeded Details

master
Jonatan Nilsson 2022-03-10 13:33:35 +00:00
parent 2ce531c0e8
commit e28bfc0d1c
1 changed files with 2 additions and 2 deletions

View File

@ -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);