Skip to content

Commit

Permalink
Make test pass on Windows
Browse files Browse the repository at this point in the history
Avoid hardcoded path seperator by  using path.join()
  • Loading branch information
TheDancingCode committed Jan 3, 2018
1 parent 457db2e commit bb11b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/path-parsing.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('gulp-rename path parsing', function () {
var srcPattern = 'test/**/*.min.txt';
var srcOptions = {base: process.cwd()};
var obj = function (path) {
path.dirname.should.equal('test/fixtures');
path.dirname.should.equal(Path.join('test', 'fixtures'));
};
helper({pattern: srcPattern, options: srcOptions}, obj, null, done);
});
Expand Down

0 comments on commit bb11b80

Please sign in to comment.