Skip to content

Commit 0dcc8de

Browse files
author
Arthur Ozga
committed
update tests
1 parent 2a2595f commit 0dcc8de

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tests/cases/fourslash/formatEmptyParamList.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
////function f( f: function){/*1*/
33
goTo.marker("1");
44
edit.insert("}");
5-
verify.currentLineContentIs("function f(f: function){ }")
5+
verify.currentLineContentIs("function f(f: function) { }")

tests/cases/fourslash/formattingOnConstructorSignature.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
/////*2*/type Stylet = { new () {} }
55
format.document();
66
goTo.marker("1");
7-
verify.currentLineContentIs("interface Gourai { new() {} }");
7+
verify.currentLineContentIs("interface Gourai { new() { } }");
88
goTo.marker("2");
9-
verify.currentLineContentIs("type Stylet = { new() {} }");
9+
verify.currentLineContentIs("type Stylet = { new() { } }");

tests/cases/fourslash/formattingSkippedTokens.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ verify.currentLineContentIs('foo(): Bar { }');
1414
goTo.marker('2');
1515
verify.currentLineContentIs('function Foo() # { }');
1616
goTo.marker('3');
17-
verify.currentLineContentIs('4 +:5');
17+
verify.currentLineContentIs('4 +: 5');
1818
goTo.marker('4');
1919
verify.currentLineContentIs(' : T) { }');
2020
goTo.marker('5');

0 commit comments

Comments
 (0)