Skip to content

Commit 2faff74

Browse files
Windows compatability for test/pkg.js
The assertion contained a mix of slashes in the path.
1 parent d564c91 commit 2faff74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/pkg.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ test('pkg', function (t) {
1111
var d = mdeps();
1212
d.on('package', function (pkg_) {
1313
var pkg = JSON.parse(fs.readFileSync(dirname + pkg_.dir + '/package.json'));
14-
pkg.__dirname = dirname + pkg_.dir;
14+
pkg.__dirname = path.join(dirname, pkg_.dir);
1515

1616
t.deepEqual(pkg_, pkg);
1717
});

0 commit comments

Comments
 (0)