updated webLinks regex to fix vscode issue#60401
This commit is contained in:
@@ -32,11 +32,11 @@ describe('webLinks addon', () => {
|
||||
const term = new MockTerminal();
|
||||
webLinks.webLinksInit(<any>term);
|
||||
|
||||
const row = ' http://foo.com/a~b#c~d?e~f ';
|
||||
const row = ' http://foo.com/a~b#c~d?e~f: ';
|
||||
|
||||
const match = row.match(term.regex);
|
||||
const uri = match[term.options.matchIndex];
|
||||
|
||||
assert.equal(uri, 'http://foo.com/a~b#c~d?e~f');
|
||||
assert.equal(uri, 'http://foo.com/a~b#c~d?e~f:');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user