From 073fb308bf83375ace865a7b2703dfcba1938e9d Mon Sep 17 00:00:00 2001 From: Eli Barzilay Date: Wed, 20 May 2020 15:47:42 -0400 Subject: [PATCH] Fix two tests * `docCommentTemplateInSingleLineComment`: Accidentally dropped space, fixes #38651 * `codeFixCorrectReturnValue13`: Bogus test code copied --- tests/cases/fourslash/codeFixCorrectReturnValue13.ts | 4 ---- .../cases/fourslash/docCommentTemplateInSingleLineComment.ts | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/cases/fourslash/codeFixCorrectReturnValue13.ts b/tests/cases/fourslash/codeFixCorrectReturnValue13.ts index cdc7c51982..3c159151e1 100644 --- a/tests/cases/fourslash/codeFixCorrectReturnValue13.ts +++ b/tests/cases/fourslash/codeFixCorrectReturnValue13.ts @@ -12,7 +12,3 @@ verify.codeFixAvailable([ { description: ts.Diagnostics.Remove_braces_from_arrow_function_body.message }, { description: ts.Diagnostics.Remove_unused_label.message } ]); - -interface A { - bar: string -} diff --git a/tests/cases/fourslash/docCommentTemplateInSingleLineComment.ts b/tests/cases/fourslash/docCommentTemplateInSingleLineComment.ts index b60fff2d59..8ff2f3452e 100644 --- a/tests/cases/fourslash/docCommentTemplateInSingleLineComment.ts +++ b/tests/cases/fourslash/docCommentTemplateInSingleLineComment.ts @@ -3,7 +3,7 @@ // @Filename: justAComment.ts //// // We want to check off-by-one errors in assessing the end of the comment, so we check twice, //// // first with a trailing space and then without. -//// // /*0*/ +//// // /*0*/ //// // /*1*/ //// // We also want to check EOF handling at the end of a comment //// // /*2*/