Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit f143685

Browse files
committed
Update ormolu test for 8.8
1 parent d5ffea7 commit f143685

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/functional/FormatSpec.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,10 @@ spec = do
101101
doc <- openDoc "Format.hs" "haskell"
102102
formatDoc doc (FormattingOptions 2 True)
103103
docContent <- documentContents doc
104+
let formatted = liftIO $ docContent `shouldBe` formattedOrmolu
104105
case ghcVersion of
105-
GHC86 -> liftIO $ docContent `shouldBe` formattedOrmolu
106+
GHC88 -> formatted
107+
GHC86 -> formatted
106108
_ -> liftIO $ docContent `shouldBe` unchangedOrmolu
107109

108110

0 commit comments

Comments
 (0)