Skip to content

Commit e39cdbe

Browse files
committed
ci: try fix for windows
1 parent 624c4ce commit e39cdbe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/test-cli.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ test('Transform html from two file', async t => {
6565
test('Transform html witch options replace', async t => {
6666
t.plan(2);
6767
const folder = await tempfile();
68-
await copy(['test/fixtures/input.html', 'test/fixtures/input-indent.html'], folder);
69-
await execa(cli, [`${folder}/input.html`, `${folder}/input-indent.html`]);
70-
t.is((await read('test/expected/output-config-pkg.html')), (await read(`${folder}/input.html`)));
71-
t.is((await read('test/expected/output-indent.html')), (await read(`${folder}/input-indent.html`)));
68+
await copy([path.normalize('test/fixtures/input.html'), path.normalize('test/fixtures/input-indent.html')], folder);
69+
await execa(cli, [path.normalize(`${folder}/input.html`), path.normalize(`${folder}/input-indent.html`)]);
70+
t.is((await read(path.normalize('test/expected/output-config-pkg.html'))), (await read(path.normalize(`${folder}/input.html`))));
71+
t.is((await read(path.normalize('test/expected/output-indent.html'))), (await read(path.normalize(`${folder}/input-indent.html`))));
7272
});
7373

7474
test('Transform html witch config in file and stdin options use', async t => {

0 commit comments

Comments
 (0)