diff --git a/src/Fantomas.Tests/MultilineBlockBracketsOnSameColumnRecordTests.fs b/src/Fantomas.Tests/MultilineBlockBracketsOnSameColumnRecordTests.fs index 8d5e76cafc..03f11e6655 100644 --- a/src/Fantomas.Tests/MultilineBlockBracketsOnSameColumnRecordTests.fs +++ b/src/Fantomas.Tests/MultilineBlockBracketsOnSameColumnRecordTests.fs @@ -608,3 +608,33 @@ let expected = TheNewValue = 1 } """ + +[] +let ``record type with attributes`` () = + formatSourceString false """ +[] +type Args = + { [] + [] + [] + Hi: int list } + +module Foo = + + let r = 3 +""" config + |> prepend newline + |> should equal """ +[] +type Args = + { + [] + [] + [] + Hi : int list + } + +module Foo = + + let r = 3 +"""