Skip to content

Commit

Permalink
Enable brace related test (fsprojects#2047)
Browse files Browse the repository at this point in the history
* Enable test `comment after closing brace in nested record`. Fixes fsprojects#1172.

* Enable test `object expressions in list`, fixes fsprojects#1170.
  • Loading branch information
nojaf authored and jindraivanek committed Mar 30, 2022
1 parent 4feb844 commit e28ece7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/Fantomas.Tests/NumberOfItemsRecordTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,6 @@ let obj1 =
member x.ToString() = "F#" }
"""

// FIXME: See https://github.com/fsprojects/fantomas/issues/1170
[<Ignore("Issue #1170")>]
[<Test>]
let ``object expressions in list, 1170`` () =
formatSourceString
Expand Down Expand Up @@ -800,8 +798,6 @@ let config =
}
"""

// FIXME: See https://github.com/fsprojects/fantomas/issues/1172
[<Ignore("Issue #1172")>]
[<Test>]
let ``comment after closing brace in nested record, 1172`` () =
formatSourceString
Expand All @@ -820,8 +816,8 @@ let person =
let person =
{ Name = "James"
Address =
{ Street = "Bakerstreet"
Number = 42 } // end address
{ Street = "Bakerstreet"
Number = 42 } // end address
} // end person
"""

Expand Down

0 comments on commit e28ece7

Please sign in to comment.