File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed
plugins/hls-fourmolu-plugin/test Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ tests =
2929 formatDoc doc (FormattingOptions 4 True Nothing Nothing Nothing )
3030 , goldenWithFourmolu cli " formats imports correctly" " Fourmolu2" " formatted" $ \ doc -> do
3131 formatDoc doc (FormattingOptions 4 True Nothing Nothing Nothing )
32+ , goldenWithFourmolu cli " uses correct operator fixities" " Fourmolu3" " formatted" $ \ doc -> do
33+ formatDoc doc (FormattingOptions 4 True Nothing Nothing Nothing )
3234 ]
3335
3436goldenWithFourmolu :: Bool -> TestName -> FilePath -> FilePath -> (TextDocumentIdentifier -> Session () ) -> TestTree
Original file line number Diff line number Diff line change 1+ b :: Bool
2+ b =
3+ id $
4+ id $
5+ case True && True of
6+ True -> True
7+ False -> False
Original file line number Diff line number Diff line change 1+ b :: Bool
2+ b =
3+ id $ id $
4+ case True && True of
5+ True -> True
6+ False -> False
You can’t perform that action at this time.
0 commit comments