-
-
Notifications
You must be signed in to change notification settings - Fork 131
Closed
Labels
Milestone
Description
Input:
public sealed class Demo
{
private void Foo()
{
var sub = Substitute.For<IFoo>();
sub.Bar()
.Returns(_ =>
[
Guid.Parse("90a34545-5030-4251-8e5b-355c2d1e322e"),
Guid.Parse("30c0932b-4563-4a46-8577-3c285addfa69")
]
);
}
private interface IFoo
{
IReadOnlyList<Guid> Bar();
}
}Output:
public sealed class Demo
{
private void Foo()
{
var sub = Substitute.For<IFoo>();
sub.Bar()
.Returns(_ =>
[
Guid.Parse("90a34545-5030-4251-8e5b-355c2d1e322e"),
Guid.Parse("30c0932b-4563-4a46-8577-3c285addfa69")
]
);
}
private interface IFoo
{
IReadOnlyList<Guid> Bar();
}
}Expected behavior:
The blank line on line 8 should not be there.