Skip to content

Commit

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

* Enable test `object expressions in list`, fixes #1170.
  • Loading branch information
nojaf authored Jan 28, 2022
1 parent aa508ef commit a8bac8c
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 a8bac8c

Please sign in to comment.