mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 13:29:44 +00:00
Test for not completing remote paths
This commit is contained in:
parent
84e791ea5b
commit
a5f49f58bb
|
@ -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: [
|
||||
|
|
Loading…
Reference in a new issue