Skip to content

Commit

Permalink
fix: rm unnecessary test
Browse files Browse the repository at this point in the history
  • Loading branch information
DuanPengfei committed Jun 22, 2017
1 parent 0864e8e commit acfdb47
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/parallel/test-path.js
Original file line number Diff line number Diff line change
Expand Up @@ -649,10 +649,6 @@ if (common.isWindows) {
assert.strictEqual(path.win32._makeLong(1), 1);
assert.strictEqual(path.win32._makeLong(), undefined);
assert.strictEqual(path.win32._makeLong(emptyObj), emptyObj);
// direct use path.posix._makeLong on windows will throw error
assert.throws(() => {
path.posix._makeLong('/foo/bar');
}, common.expectsError({code: 'ERR_UNSUPPORTED_PLATFORM', type: Error}));
} else {
assert.strictEqual(path.posix._makeLong('/foo/bar'), '/foo/bar');
assert.strictEqual(path.posix._makeLong('foo/bar'), 'foo/bar');
Expand Down

0 comments on commit acfdb47

Please sign in to comment.