Fix tests for windows
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
feac2678bd
commit
264364a152
1 changed files with 4 additions and 4 deletions
|
@ -750,10 +750,10 @@ t.describe('CLI', function() {
|
|||
|
||||
assert.ok(eltro.starting)
|
||||
assert.strictEqual(loaded.length, 2)
|
||||
assert.match(loaded[0], path.join('root', testFiles[1]))
|
||||
assert.match(loaded[1], path.join('root', testFiles[2]))
|
||||
assert.match(filenames[0], testFiles[1])
|
||||
assert.match(filenames[1], testFiles[2])
|
||||
assert.match(loaded[0], new RegExp(path.join('root', testFiles[1]).replace(/\\/g, '\\\\')))
|
||||
assert.match(loaded[1], new RegExp(path.join('root', testFiles[2]).replace(/\\/g, '\\\\')))
|
||||
assert.match(filenames[0], new RegExp(testFiles[1].replace(/\\/g, '\\\\')))
|
||||
assert.match(filenames[1], new RegExp(testFiles[2].replace(/\\/g, '\\\\')))
|
||||
})
|
||||
|
||||
t.test('on error should throw and wrap in inner error', async function() {
|
||||
|
|
Loading…
Reference in a new issue