Skip to content

Commit

Permalink
Fixes tests for line/column in terminal
Browse files Browse the repository at this point in the history
Fixes #34193
  • Loading branch information
Naveen Kumar committed Dec 17, 2017
1 parent 4c00fcd commit 7675229
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const lineAndColumnClause = [

// Changing any regex may effect this value, hence changes this as well if required.
const winLineAndColumnMatchIndex = 12;
const unixLineAndColumnMatchIndex = 23;
const unixLineAndColumnMatchIndex = 11;

// Each line and column clause have 6 groups (ie no. of expressions in round brackets)
const lineAndColumnClauseGroupCount = 6;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ suite('Workbench - TerminalLinkHandler', () => {

const supportedLinkFormats: LinkFormatInfo[] = [
{ urlFormat: '{0}' },
// { urlFormat: '{0} on line {1}', line: '5' },
// { urlFormat: '{0} on line {1}, column {2}', line: '5', column: '3' },
// { urlFormat: '{0}:line {1}', line: '5' },
// { urlFormat: '{0}:line {1}, column {2}', line: '5', column: '3' },
{ urlFormat: '{0} on line {1}', line: '5' },
{ urlFormat: '{0} on line {1}, column {2}', line: '5', column: '3' },
{ urlFormat: '{0}:line {1}', line: '5' },
{ urlFormat: '{0}:line {1}, column {2}', line: '5', column: '3' },
{ urlFormat: '{0}({1})', line: '5' },
{ urlFormat: '{0} ({1})', line: '5' },
{ urlFormat: '{0}({1},{2})', line: '5', column: '3' },
Expand Down

0 comments on commit 7675229

Please sign in to comment.