efc1b7df08
* More thoroughly test navigateTo * Fix #25233 and #25237 * Update API (#24966)
17 lines
538 B
TypeScript
17 lines
538 B
TypeScript
/// <reference path="fourslash.ts"/>
|
|
|
|
// @noLib: true
|
|
|
|
////[|{| "name": "C", "kind": "class" |}class C {
|
|
//// [|{| "name": "foo", "kind": "method", "containerName": "C", "containerKind": "class" |}foo() { }|]
|
|
//// ["hi" + "bye"]() { }
|
|
//// [|{| "name": "bar", "kind": "method", "containerName": "C", "containerKind": "class" |}bar() { }|]
|
|
////}|]
|
|
|
|
for (const range of test.ranges()) {
|
|
verify.navigateTo({
|
|
pattern: range.marker.data.name,
|
|
expected: [{ ...range.marker.data, range }],
|
|
});
|
|
}
|