Skip to content

Commit 2b0eaed

Browse files
committed
Move test implementations into correct test names
1 parent aba8329 commit 2b0eaed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/vs/platform/terminal/test/common/terminalEnvironment.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ suite('terminalEnvironment', () => {
2121
strictEqual(collapseTildePath('c:\\foo', 'C:\\bar', '\\'), 'C:\\foo');
2222
});
2323
test('should collapse with Windows separators', () => {
24-
strictEqual(collapseTildePath('/foo/bar', '/foo', '/'), '~/bar');
25-
strictEqual(collapseTildePath('/foo/bar/baz', '/foo', '/'), '~/bar/baz');
26-
});
27-
test('should collapse with Posix separators', () => {
2824
strictEqual(collapseTildePath('C:\\foo\\bar', 'C:\\foo', '\\'), '~\\bar');
2925
strictEqual(collapseTildePath('C:\\foo\\bar\\baz', 'C:\\foo', '\\'), '~\\bar\\baz');
3026
});
27+
test('should collapse with Posix separators', () => {
28+
strictEqual(collapseTildePath('/foo/bar', '/foo', '/'), '~/bar');
29+
strictEqual(collapseTildePath('/foo/bar/baz', '/foo', '/'), '~/bar/baz');
30+
});
3131
});
3232
});

0 commit comments

Comments
 (0)