mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-23 03:39:23 +00:00
Test for not completing remote paths
This commit is contained in:
@@ -132,6 +132,16 @@ suite('HTML Path Completion', () => {
|
||||
}, indexHtmlUri);
|
||||
});
|
||||
|
||||
test('No completion for remote paths', () => {
|
||||
testCompletionFor('<script src="http:">', { items: [] });
|
||||
testCompletionFor('<script src="http:/|">', { items: [] });
|
||||
testCompletionFor('<script src="http://|">', { items: [] });
|
||||
testCompletionFor('<script src="https:|">', { items: [] });
|
||||
testCompletionFor('<script src="https:/|">', { items: [] });
|
||||
testCompletionFor('<script src="https://|">', { items: [] });
|
||||
testCompletionFor('<script src="//|">', { items: [] });
|
||||
});
|
||||
|
||||
test('Relative Path', () => {
|
||||
testCompletionFor('<script src="../|">', {
|
||||
items: [
|
||||
|
||||
Reference in New Issue
Block a user