TypeScript/tests/cases/fourslash/missingMethodAfterEditAfterImport.ts

20 lines
441 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path='fourslash.ts' />
2015-04-27 01:12:48 +02:00
//// namespace foo {
//// export namespace bar { namespace baz { export class boo { } } }
2014-07-13 01:04:16 +02:00
//// }
////
//// import f = /*foo*/foo;
////
//// /*delete*/var x;
2016-09-09 18:02:55 +02:00
// Sanity check\
verify.quickInfoAt("foo", "namespace foo");
2014-07-13 01:04:16 +02:00
// Delete some code
goTo.marker('delete');
edit.deleteAtCaret('var x;'.length);
// Pull on the RHS of an import
2016-09-09 18:02:55 +02:00
verify.quickInfoAt("foo", "namespace foo");