TypeScript/tests/cases/fourslash/navigateItemsLet.ts
Andy efc1b7df08
More thoroughly test navigateTo (#25239)
* More thoroughly test navigateTo

* Fix #25233 and #25237

* Update API (#24966)
2018-07-02 19:25:27 -07:00

14 lines
391 B
TypeScript

/// <reference path="fourslash.ts" />
// @noLib: true
////let [|c = 10|];
////function foo() {
//// let [|d = 10|];
////}
const [r0, r1] = test.ranges();
verify.navigateTo(
{ pattern: "c", expected: [{ name: "c", kind: "let", range: r0 }] },
{ pattern: "d", expected: [{ name: "d", kind: "let", range: r1, containerName: "foo", containerKind: "function" }] },
);