diff --git a/tests/cases/fourslash/refactorConvertToNamedParameters11.ts b/tests/cases/fourslash/refactorConvertToNamedParameters11.ts
index cbacbf1f21a..e8aa6a92dd8 100644
--- a/tests/cases/fourslash/refactorConvertToNamedParameters11.ts
+++ b/tests/cases/fourslash/refactorConvertToNamedParameters11.ts
@@ -1,6 +1,6 @@
///
-////const foo = /*a*/function/*b*/(a: number, b: number) {};
+////const foo = /*a*/function/*b*/(a: number, b: number) { };
////foo(1, 2);
goTo.select("a", "b");
@@ -8,6 +8,6 @@ edit.applyRefactor({
refactorName: "Convert to named parameters",
actionName: "Convert to named parameters",
actionDescription: "Convert to named parameters",
- newContent: `const foo = function({ a, b }: { a: number; b: number; }) {};
+ newContent: `const foo = function({ a, b }: { a: number; b: number; }) { };
foo({ a: 1, b: 2 });`
});
\ No newline at end of file
diff --git a/tests/cases/fourslash/refactorConvertToNamedParameters12.ts b/tests/cases/fourslash/refactorConvertToNamedParameters12.ts
index 6a2fbdc6f04..6a5a8e328a5 100644
--- a/tests/cases/fourslash/refactorConvertToNamedParameters12.ts
+++ b/tests/cases/fourslash/refactorConvertToNamedParameters12.ts
@@ -1,6 +1,6 @@
///
-////const foo = /*a*/(a: number, b: number)/*b*/ => {};
+////const foo = /*a*/(a: number, b: number)/*b*/ => { };
////foo(1, 2);
goTo.select("a", "b");
@@ -8,6 +8,6 @@ edit.applyRefactor({
refactorName: "Convert to named parameters",
actionName: "Convert to named parameters",
actionDescription: "Convert to named parameters",
- newContent: `const foo = ({ a, b }: { a: number; b: number; }) => {};
+ newContent: `const foo = ({ a, b }: { a: number; b: number; }) => { };
foo({ a: 1, b: 2 });`
});
\ No newline at end of file
diff --git a/tests/cases/fourslash/refactorConvertToNamedParameters14.ts b/tests/cases/fourslash/refactorConvertToNamedParameters14.ts
index a7914bc9f1f..ee4b6051756 100644
--- a/tests/cases/fourslash/refactorConvertToNamedParameters14.ts
+++ b/tests/cases/fourslash/refactorConvertToNamedParameters14.ts
@@ -1,7 +1,7 @@
///
////const c = class {
-//// constructor(/*a*/a: number, b = { x: 1 }/*b*/) {}
+//// constructor(/*a*/a: number, b = { x: 1 }/*b*/) { }
////}
////var x = new c(2);
@@ -11,7 +11,7 @@ edit.applyRefactor({
actionName: "Convert to named parameters",
actionDescription: "Convert to named parameters",
newContent: `const c = class {
- constructor({ a, b = { x: 1 } }: { a: number; b?: { x: number; }; }) {}
+ constructor({ a, b = { x: 1 } }: { a: number; b?: { x: number; }; }) { }
}
var x = new c({ a: 2 });`
});
diff --git a/tests/cases/fourslash/refactorConvertToNamedParameters17.ts b/tests/cases/fourslash/refactorConvertToNamedParameters17.ts
index 5af97ca694a..7888c33f4e2 100644
--- a/tests/cases/fourslash/refactorConvertToNamedParameters17.ts
+++ b/tests/cases/fourslash/refactorConvertToNamedParameters17.ts
@@ -11,7 +11,7 @@ edit.applyRefactor({
actionName: "Convert to named parameters",
actionDescription: "Convert to named parameters",
newContent: `function foo({ t, s }: { t: T; s: S; }) {
- return s;
+ return s;
}
foo({ t: "a", s: "b" });`
});
\ No newline at end of file
diff --git a/tests/cases/fourslash/refactorConvertToNamedParameters5.ts b/tests/cases/fourslash/refactorConvertToNamedParameters5.ts
index 8b8958bc674..f84e0d7b023 100644
--- a/tests/cases/fourslash/refactorConvertToNamedParameters5.ts
+++ b/tests/cases/fourslash/refactorConvertToNamedParameters5.ts
@@ -7,6 +7,7 @@
////}
////var foo = new Foo();
////foo['bar']("a", "b");
+////foo.bar("a", "b");
goTo.select("a", "b");
edit.applyRefactor({
@@ -19,5 +20,6 @@ edit.applyRefactor({
}
}
var foo = new Foo();
-foo['bar']({ t: "a", s: "b" });`
+foo['bar']({ t: "a", s: "b" });
+foo.bar({ t: "a", s: "b" });`
});
\ No newline at end of file