From 337d1326fb67c7d8ec76531892e07990fb3871d4 Mon Sep 17 00:00:00 2001 From: Andrew Casey Date: Fri, 1 Apr 2022 11:14:14 -0700 Subject: [PATCH] Sync fourslash shims and shims-pp (#48507) It appears that they were intended to be identical so, in each case, I updated the side that looked less correct. --- .../shims-pp/goToDefinitionTypeReferenceDirective.ts | 2 +- tests/cases/fourslash/shims/getCompletionsAtPosition.ts | 2 +- tests/cases/fourslash/shims/getOutliningSpans.ts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/cases/fourslash/shims-pp/goToDefinitionTypeReferenceDirective.ts b/tests/cases/fourslash/shims-pp/goToDefinitionTypeReferenceDirective.ts index 532390fb35e..f318de7c25e 100644 --- a/tests/cases/fourslash/shims-pp/goToDefinitionTypeReferenceDirective.ts +++ b/tests/cases/fourslash/shims-pp/goToDefinitionTypeReferenceDirective.ts @@ -1,4 +1,4 @@ -/// +/// // @typeRoots: src/types // @Filename: src/types/lib/index.d.ts diff --git a/tests/cases/fourslash/shims/getCompletionsAtPosition.ts b/tests/cases/fourslash/shims/getCompletionsAtPosition.ts index aa8f7a64e7f..527c0d0b6ca 100644 --- a/tests/cases/fourslash/shims/getCompletionsAtPosition.ts +++ b/tests/cases/fourslash/shims/getCompletionsAtPosition.ts @@ -1,4 +1,4 @@ -/// +/// ////function foo(strOrNum: string | number) { //// /*1*/ diff --git a/tests/cases/fourslash/shims/getOutliningSpans.ts b/tests/cases/fourslash/shims/getOutliningSpans.ts index c5b41ff7997..849d7bcf8b9 100644 --- a/tests/cases/fourslash/shims/getOutliningSpans.ts +++ b/tests/cases/fourslash/shims/getOutliningSpans.ts @@ -1,4 +1,4 @@ -/// +/// ////// interface ////interface IFoo[| { @@ -26,7 +26,7 @@ //// }|] ////}|] ////switch(1)[| { -//// case 1:[| break;|] +//// case 1:[| break;|] ////}|] //// ////var array =[| [