Skip to content

Commit 8d97f37

Browse files
committed
Adding a test for another edgecase to fix
1 parent 033c83f commit 8d97f37

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Src/CSharpier.Tests/FormattingTests/TestFiles/cs/ParenthesizedLambdaExpressions.test

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ public class ClassName
55
null,
66
(Action)(() => { })
77
);
8+
private SomeObject someObject = new SomeObject_____________________________________(
9+
() => new SomeObject()
10+
);
811
private static readonly Action _callbackCompleted = () => { };
912

1013
public void MethodName()
@@ -103,7 +106,7 @@ public class ClassName
103106
CallMethod(() =>
104107
CallAnotherMethod______________________________________________________123()
105108
);
106-
109+
107110
CallMethod(
108111
CallAnotherMethod_________________(),
109112
() => CallAnotherMethod_________________()

0 commit comments

Comments
 (0)