Skip to content

Commit 992c4da

Browse files
committed
fix path test that reflects on its own name
1 parent 1355463 commit 992c4da

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/vs/base/test/node/path.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ suite('Paths (Node Implementation)', () => {
176176
});
177177

178178
test('dirname', () => {
179-
assert.strictEqual(path.dirname(path.normalize(__filename)).substr(-11),
180-
isWindows ? 'test\\common' : 'test/common');
179+
assert.strictEqual(path.dirname(path.normalize(__filename)).substr(-9),
180+
isWindows ? 'test\\node' : 'test/node');
181181

182182
assert.strictEqual(path.posix.dirname('/a/b/'), '/a');
183183
assert.strictEqual(path.posix.dirname('/a/b'), '/a');

0 commit comments

Comments
 (0)