Skip to content

Commit

Permalink
test: fix party normalize
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrum committed Apr 1, 2019
1 parent 70c0936 commit 37d5d42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test-out-resolve.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ test('only input should return file.ext', async t => {
});

test('only input should return tmp/file.ext', async t => {
t.is(await outResolve('tmp/file.ext'), path.normalize('tmp/file.ext'));
t.is(await outResolve('tmp/file.ext'), 'tmp/file.ext');
});

test('input file and output file should return output.ext', async t => {
Expand All @@ -36,6 +36,6 @@ test('input files and output file should return output.ext', async t => {
});

test('input files and output file should return tmp/output.ext', async t => {
t.is(await outResolve('test/*', 'tmp/output.ext'), path.normalize('tmp/output.ext'));
t.is(await outResolve('test/*', 'tmp/output.ext'), 'tmp/output.ext');
});

0 comments on commit 37d5d42

Please sign in to comment.