mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
Another test case for rename in destructuring assignment
This commit is contained in:
14
tests/cases/fourslash/renameDestructuringAssignment.ts
Normal file
14
tests/cases/fourslash/renameDestructuringAssignment.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
////interface I {
|
||||
//// [|x|]: number;
|
||||
////}
|
||||
////var a: I;
|
||||
////var x;
|
||||
////({ [|x|]: x } = a);
|
||||
|
||||
let ranges = test.ranges()
|
||||
for (let range of ranges) {
|
||||
goTo.position(range.start);
|
||||
verify.renameLocations(/*findInStrings*/ false, /*findInComments*/ false);
|
||||
}
|
||||
Reference in New Issue
Block a user