///<reference path="fourslash.ts" />

////import /*1*/q = /*2*/

verifyIncompleteImport();
goTo.marker('2');
edit.insert("a.");
verifyIncompleteImport();

function verifyIncompleteImport() {
    goTo.marker('1');
    verify.completionListIsEmpty();
    verify.quickInfoIs("import q");
}
///<reference path="fourslash.ts" />

////import /*1*/ /*2*/

goTo.marker('1');
verify.completionListIsEmpty();
edit.insert('q');
verify.completionListIsEmpty();
verifyIncompleteImportName();

goTo.marker('2');
edit.insert(" = ");
verifyIncompleteImportName();

goTo.marker("2");
edit.moveRight(" = ".length);
edit.insert("a.");
verifyIncompleteImportName();

function verifyIncompleteImportName() {
    goTo.marker('1');
    verify.completionListIsEmpty();
    verify.quickInfoIs("import q");
}
Test now covers completion entry at name of the import when there is no name and there is name
Test now covers completion entry at name of the import when there is no name and there is name
