mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-29 00:06:17 -05:00
Rename Tests
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// Should give completions for absolute paths
|
||||
// Offers completions for absolute paths.
|
||||
|
||||
// @Filename: tests/test0.ts
|
||||
//// /// <reference path="/tests/cases/f/*0*/
|
||||
@@ -13,13 +13,8 @@
|
||||
//// /// <reference path=".//*2*/
|
||||
//// /// <reference path=".\/*3*/
|
||||
|
||||
for(let m of ["0", "2", "3"]) {
|
||||
for(let m of ["0", "1", "2", "3"]) {
|
||||
goTo.marker(m);
|
||||
verify.completionListContains("f.ts");
|
||||
verify.completionListContains(".hidden.ts");
|
||||
verify.not.completionListItemsCountIsGreaterThan(2);
|
||||
}
|
||||
|
||||
goTo.marker("1");
|
||||
verify.completionListContains(".hidden.ts");
|
||||
verify.not.completionListItemsCountIsGreaterThan(1);
|
||||
verify.not.completionListItemsCountIsGreaterThan(1);
|
||||
}
|
||||
@@ -14,14 +14,16 @@
|
||||
//// /// <reference path="f/*0*/
|
||||
//// /// <reference path="./f/*1*/
|
||||
|
||||
//// /// <reference path="f1/*2*/
|
||||
//// /// <reference path="f1./*3*/
|
||||
//// /// <reference path="f1.t/*4*/
|
||||
//// /// <reference path="f1.ts/*5*/
|
||||
//// /// <reference path="./f1/*6*/
|
||||
//// /// <reference path="./f1./*7*/
|
||||
//// /// <reference path="./f1.t/*8*/
|
||||
//// /// <reference path="./f1.ts/*9*/
|
||||
//// /// <reference path="./d/*2*/
|
||||
|
||||
//// /// <reference path="f1/*3*/
|
||||
//// /// <reference path="f1./*4*/
|
||||
//// /// <reference path="f1.t/*5*/
|
||||
//// /// <reference path="f1.ts/*6*/
|
||||
//// /// <reference path="./f1/*7*/
|
||||
//// /// <reference path="./f1./*8*/
|
||||
//// /// <reference path="./f1.t/*9*/
|
||||
//// /// <reference path="./f1.ts/*10*/
|
||||
|
||||
for (let m of ["0", "1"]) {
|
||||
goTo.marker(m);
|
||||
@@ -30,7 +32,13 @@ for (let m of ["0", "1"]) {
|
||||
verify.not.completionListItemsCountIsGreaterThan(2);
|
||||
}
|
||||
|
||||
for (let m = 2; m < 10; ++m) {
|
||||
goTo.marker("2");
|
||||
verify.completionListContains("d");
|
||||
verify.not.completionListItemsCountIsGreaterThan(1);
|
||||
|
||||
|
||||
|
||||
for (let m = 3; m < 11; ++m) {
|
||||
goTo.marker("" + m);
|
||||
verify.completionListContains("f1.ts");
|
||||
verify.not.completionListItemsCountIsGreaterThan(1);
|
||||
|
||||
Reference in New Issue
Block a user