remove some case

This commit is contained in:
王文璐 committed 2018-05-24 18:00:42 +08:00
1 parent de75f14d2b
commit 5497b42558
2 files changed
-29

No files matched your search

@@ -1,16 +0,0 @@
/// <reference path='fourslash.ts' />
//// 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;
}`,
});
@@ -1,13 +0,0 @@
/// <reference path='fourslash.ts' />
//// 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`,
});