mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 03:23:08 -06:00
Fix tests
This commit is contained in:
parent
f6ff6bd206
commit
49e0de991d
@ -69,5 +69,6 @@ function testBlock(offset: number, fileName: string, dir: string) {
|
||||
}
|
||||
|
||||
goTo.marker("" + (offset + 3));
|
||||
verify.not.completionListItemsCountIsGreaterThan(0);
|
||||
verify.completionListContains(fileName);
|
||||
verify.not.completionListItemsCountIsGreaterThan(1);
|
||||
}
|
||||
|
||||
@ -17,7 +17,7 @@ for(let m of ["0", "2", "3"]) {
|
||||
goTo.marker(m);
|
||||
verify.completionListContains("f.ts");
|
||||
verify.completionListContains(".hidden.ts");
|
||||
verify.not.completionListItemsCountIsGreaterThan(3);
|
||||
verify.not.completionListItemsCountIsGreaterThan(2);
|
||||
}
|
||||
|
||||
goTo.marker("1");
|
||||
|
||||
@ -19,9 +19,10 @@
|
||||
//// /// <reference path=".//*1*/
|
||||
|
||||
//// /// <reference path="./*2*/
|
||||
|
||||
//// /// <reference path="../*3*/
|
||||
|
||||
//// /// <reference path="..//4*/
|
||||
//// /// <reference path="..//*4*/
|
||||
//// /// <reference path="..\/*5*/
|
||||
|
||||
//// /// <reference path="../..//*6*/
|
||||
@ -46,10 +47,12 @@ function workingDirCompletions() {
|
||||
verify.not.completionListItemsCountIsGreaterThan(2);
|
||||
}
|
||||
|
||||
for(let m of ["2", "3"]) {
|
||||
goTo.marker(m);
|
||||
verify.not.completionListItemsCountIsGreaterThan(0);
|
||||
}
|
||||
goTo.marker("2");
|
||||
verify.completionListContains("h.ts");
|
||||
verify.not.completionListItemsCountIsGreaterThan(1);
|
||||
|
||||
goTo.marker("3");
|
||||
verify.not.completionListItemsCountIsGreaterThan(0);
|
||||
}
|
||||
|
||||
function parentDirCompletions() {
|
||||
@ -69,7 +72,8 @@ function parentDirCompletions() {
|
||||
|
||||
function childDirCompletions() {
|
||||
goTo.marker("7");
|
||||
verify.not.completionListItemsCountIsGreaterThan(0);
|
||||
verify.completionListContains("d3");
|
||||
verify.not.completionListItemsCountIsGreaterThan(1);
|
||||
|
||||
for (let m of ["8", "9"]) {
|
||||
goTo.marker(m);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user