Skip to content

Commit 631a006

Browse files
committed
Disable test with comments on windows for cabal-fmt
1 parent b611996 commit 631a006

File tree

1 file changed

+2
-1
lines changed
  • plugins/hls-cabal-fmt-plugin/test

1 file changed

+2
-1
lines changed

plugins/hls-cabal-fmt-plugin/test/Main.hs

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ cabalFmtPlugin = CabalFmt.descriptor mempty "cabal-fmt"
3535

3636
tests :: CabalFmtFound -> TestTree
3737
tests found = testGroup "cabal-fmt"
38-
[ cabalFmtGolden found "formats a simple document" "simple_testdata" "formatted_document" $ \doc -> do
38+
[ knownBrokenOnWindows "Eats newlines between comments" $
39+
cabalFmtGolden found "formats a simple document" "simple_testdata" "formatted_document" $ \doc -> do
3940
formatDoc doc (FormattingOptions 2 True Nothing Nothing Nothing)
4041

4142
, knownBrokenOnWindows "expand:src comment bug in cabal-fmt on windows" $

0 commit comments

Comments
 (0)