Skip to content

Commit

Permalink
fix(test) path separator issue
Browse files Browse the repository at this point in the history
  • Loading branch information
breautek committed May 9, 2021
1 parent d37c678 commit 21d91fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/unit/java.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ describe('Java', () => {
await Java._ensure(env);

expect(env.JAVA_HOME).toBe('/tmp/jdk');
expect(env.PATH.split(path.delimiter)).toContain('/tmp/jdk/bin');
expect(env.PATH.split(path.delimiter)).toContain(['', 'tmp', 'jdk', 'bin'].join(path.sep));
});

it('with JAVA_HOME / without javac', async () => {
Expand Down

0 comments on commit 21d91fc

Please sign in to comment.