Skip to content

Commit

Permalink
ci: try fix for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrum committed Jun 27, 2019
1 parent 624c4ce commit e39cdbe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/test-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ test('Transform html from two file', async t => {
test('Transform html witch options replace', async t => {
t.plan(2);
const folder = await tempfile();
await copy(['test/fixtures/input.html', 'test/fixtures/input-indent.html'], folder);
await execa(cli, [`${folder}/input.html`, `${folder}/input-indent.html`]);
t.is((await read('test/expected/output-config-pkg.html')), (await read(`${folder}/input.html`)));
t.is((await read('test/expected/output-indent.html')), (await read(`${folder}/input-indent.html`)));
await copy([path.normalize('test/fixtures/input.html'), path.normalize('test/fixtures/input-indent.html')], folder);
await execa(cli, [path.normalize(`${folder}/input.html`), path.normalize(`${folder}/input-indent.html`)]);
t.is((await read(path.normalize('test/expected/output-config-pkg.html'))), (await read(path.normalize(`${folder}/input.html`))));
t.is((await read(path.normalize('test/expected/output-indent.html'))), (await read(path.normalize(`${folder}/input-indent.html`))));
});

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

0 comments on commit e39cdbe

Please sign in to comment.