Skip to content

Commit 8c3fc45

Browse files
committed
Add multiple links test
1 parent abbb5a8 commit 8c3fc45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vs/workbench/contrib/terminalContrib/links/test/browser/terminalMultiLineLinkDetector.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,9 @@ interface LinkFormatInfo {
8686
const supportedLinkFormats: LinkFormatInfo[] = [
8787
{ urlFormat: '{0}\r\n{1}:foo', line: '5' },
8888
{ urlFormat: '{0}\r\n{1}: foo', line: '5' },
89-
{ urlFormat: '{0}\r\n{1}:{2} foo', line: '5', column: '3' },
89+
{ urlFormat: '{0}\r\n5:another link\r\n{1}:{2} foo', line: '5', column: '3' },
9090
{ urlFormat: '{0}\r\n {1}:{2} foo', line: '5', column: '3' },
91+
{ urlFormat: '{0}\r\n 5:6 error another one\r\n {1}:{2} error', line: '5', column: '3' },
9192
];
9293

9394
suite('Workbench - TerminalMultiLineLinkDetector', () => {

0 commit comments

Comments
 (0)