Skip to content

Commit

Permalink
attempt to fix the junction test
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Apr 27, 2017
1 parent 0f77906 commit 80002c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/symlink.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,8 @@ describe('symlink stream', function() {
expect(files).toInclude(file);
expect(files[0].base).toEqual(outputBase, 'base should have changed');
expect(files[0].path).toEqual(outputDirpath, 'path should have changed');
expect(outputLink).toEqual(inputDirpath);
// When creating a junction, it seems Windows appends a separator
expect(outputLink).toEqual(inputDirpath + path.sep);
expect(stats.isDirectory()).toEqual(true);
expect(lstats.isDirectory()).toEqual(false);
}
Expand Down

0 comments on commit 80002c2

Please sign in to comment.