mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-10 06:41:59 -06:00
Add test for renaming accorss modules using export=
This commit is contained in:
parent
cdc33f51d2
commit
9b01783e2d
18
tests/cases/fourslash/renameImportOfExportEquals.ts
Normal file
18
tests/cases/fourslash/renameImportOfExportEquals.ts
Normal file
@ -0,0 +1,18 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
////declare namespace N {
|
||||
//// export var x: number;
|
||||
////}
|
||||
////declare module "mod" {
|
||||
//// export = N;
|
||||
////}
|
||||
////declare module "test" {
|
||||
//// import * as [|N|] from "mod";
|
||||
//// export { [|N|] }; // Renaming N here would rename
|
||||
////}
|
||||
|
||||
let ranges = test.ranges()
|
||||
for (let range of ranges) {
|
||||
goTo.position(range.start);
|
||||
verify.renameLocations(/*findInStrings*/ false, /*findInComments*/ false);
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user