From 5497b42558c839cf66ca8dafb79438c0e19d5b1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=96=87=E7=92=90?= Date: Thu, 24 May 2018 18:00:42 +0800 Subject: [PATCH] remove some case --- ...refactorAddOrRemoveBracesToArrowFunction22.ts | 16 ---------------- ...refactorAddOrRemoveBracesToArrowFunction23.ts | 13 ------------- 2 files changed, 29 deletions(-) delete mode 100644 tests/cases/fourslash/refactorAddOrRemoveBracesToArrowFunction22.ts delete mode 100644 tests/cases/fourslash/refactorAddOrRemoveBracesToArrowFunction23.ts diff --git a/tests/cases/fourslash/refactorAddOrRemoveBracesToArrowFunction22.ts b/tests/cases/fourslash/refactorAddOrRemoveBracesToArrowFunction22.ts deleted file mode 100644 index 9d179bcb935..00000000000 --- a/tests/cases/fourslash/refactorAddOrRemoveBracesToArrowFunction22.ts +++ /dev/null @@ -1,16 +0,0 @@ -/// - -//// const foo = /*a*/a/*b*/ => -//// /* expression comment */ -//// a + 1 - -goTo.select("a", "b"); -edit.applyRefactor({ - refactorName: "Add or remove braces in an arrow function", - actionName: "Add braces to arrow function", - actionDescription: "Add braces to arrow function", - newContent: `const foo = a => { - /* expression comment */ - return a + 1; -}`, -}); diff --git a/tests/cases/fourslash/refactorAddOrRemoveBracesToArrowFunction23.ts b/tests/cases/fourslash/refactorAddOrRemoveBracesToArrowFunction23.ts deleted file mode 100644 index 062ae3f674e..00000000000 --- a/tests/cases/fourslash/refactorAddOrRemoveBracesToArrowFunction23.ts +++ /dev/null @@ -1,13 +0,0 @@ -/// - -//// const foo = /*a*/a/*b*/ => { -//// return; -//// }; - -goTo.select("a", "b"); -edit.applyRefactor({ - refactorName: "Add or remove braces in an arrow function", - actionName: "Remove braces from arrow function", - actionDescription: "Remove braces from arrow function", - newContent: `const foo = a => void 0`, -});