mirror of
https://github.com/Microsoft/vscode
synced 2024-09-18 01:58:27 +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);
|
}, 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', () => {
|
test('Relative Path', () => {
|
||||||
testCompletionFor('<script src="../|">', {
|
testCompletionFor('<script src="../|">', {
|
||||||
items: [
|
items: [
|
||||||
|
|
Loading…
Reference in a new issue