2014-11-07 04:37:05 +01:00
|
|
|
///<reference path="fourslash.ts" />
|
|
|
|
|
2014-11-07 21:32:08 +01:00
|
|
|
////import /*1*/ /*2*/
|
|
|
|
|
|
|
|
goTo.marker('1');
|
|
|
|
verify.completionListIsEmpty();
|
|
|
|
edit.insert('q');
|
|
|
|
verify.completionListIsEmpty();
|
|
|
|
verifyIncompleteImportName();
|
2014-11-07 04:37:05 +01:00
|
|
|
|
|
|
|
goTo.marker('2');
|
2014-11-07 21:32:08 +01:00
|
|
|
edit.insert(" = ");
|
|
|
|
verifyIncompleteImportName();
|
|
|
|
|
|
|
|
goTo.marker("2");
|
|
|
|
edit.moveRight(" = ".length);
|
2014-11-07 04:37:05 +01:00
|
|
|
edit.insert("a.");
|
2014-11-07 21:32:08 +01:00
|
|
|
verifyIncompleteImportName();
|
2014-11-07 04:37:05 +01:00
|
|
|
|
2014-11-07 21:32:08 +01:00
|
|
|
function verifyIncompleteImportName() {
|
2014-11-07 04:37:05 +01:00
|
|
|
goTo.marker('1');
|
|
|
|
verify.completionListIsEmpty();
|
|
|
|
verify.quickInfoIs("import q");
|
|
|
|
}
|