diff --git a/tests/cases/fourslash/findAllRefsObjectBindingElementPropertyName10.ts b/tests/cases/fourslash/findAllRefsObjectBindingElementPropertyName10.ts index ea38f35d103..7b8be1aa91c 100644 --- a/tests/cases/fourslash/findAllRefsObjectBindingElementPropertyName10.ts +++ b/tests/cases/fourslash/findAllRefsObjectBindingElementPropertyName10.ts @@ -8,8 +8,6 @@ ////function f ({ [|next|]: { [|next|]: x} }: Recursive) { ////} -goTo.marker(); - let ranges = test.ranges(); for (let range of ranges) { goTo.position(range.start); diff --git a/tests/cases/fourslash/quickInfoForObjectBindingElementPropertyName04.ts b/tests/cases/fourslash/quickInfoForObjectBindingElementPropertyName04.ts index 6a0a6cb792a..8b152740861 100644 --- a/tests/cases/fourslash/quickInfoForObjectBindingElementPropertyName04.ts +++ b/tests/cases/fourslash/quickInfoForObjectBindingElementPropertyName04.ts @@ -8,7 +8,10 @@ ////function f ({ /*1*/next: { /*2*/next: x} }) { ////} -for (let { position } of test.markers()) { - goTo.position(position) - verify.quickInfoIs("(property) next: any"); -} \ No newline at end of file +goTo.marker("1"); +verify.quickInfoIs(`(property) next: { + next: any; +}`); + +goTo.marker("2"); +verify.quickInfoIs("(property) next: any"); \ No newline at end of file