Issue created from fantomas-online
Code
module Foo =
[<Test>]
let bar () =
let thing =
Mock<Foo>()
.Setup(fun aaaaaaaaaaaa -> <@ aaaaaaaaaaaa.Abcdefghijklmnopqrs "Food" "IsTastier" @>).Returns(false)
.Create()
()
Result
module Foo =
[<Test>]
let bar () =
let thing =
Mock<Foo>()
.Setup(fun aaaaaaaaaaaa -> <@ aaaaaaaaaaaa.Abcdefghijklmnopqrs "Food" "IsTastier" @>
)
.Returns(false)
.Create()
()
Problem description
The max_line_length ends exactly at @>. Could we take the closing ) into account?
And have
.Setup(fun aaaaaaaaaaaa ->
<@ aaaaaaaaaaaa.Abcdefghijklmnopqrs "Food" "IsTastier" @>
)
.Returns(false)
instead?
//cc @Smaug123
Extra information
Options
Fantomas main branch at 2022-10-03T18:04:44Z - 3a939e9
{ config with
MaxLineLength = 100
MultiLineLambdaClosingNewline = true }
Did you know that you can ignore files when formatting from fantomas-tool or the FAKE targets by using a .fantomasignore file?
Issue created from fantomas-online
Code
Result
Problem description
The max_line_length ends exactly at
@>. Could we take the closing)into account?And have
instead?
//cc @Smaug123
Extra information
Options
Fantomas main branch at 2022-10-03T18:04:44Z - 3a939e9
Did you know that you can ignore files when formatting from fantomas-tool or the FAKE targets by using a .fantomasignore file?