Skip to content

Commit cde554f

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

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
@@ -42,7 +42,8 @@ tests found = testGroup "cabal-fmt"
4242
cabalFmtGolden found "formats a document with expand:src comment" "commented_testdata" "formatted_document" $ \doc -> do
4343
formatDoc doc (FormattingOptions 2 True Nothing Nothing Nothing)
4444

45-
, cabalFmtGolden found "formats a document with lib information" "lib_testdata" "formatted_document" $ \doc -> do
45+
, knownBrokenOnWindows "Eats newlines between comments" $
46+
cabalFmtGolden found "formats a document with lib information" "lib_testdata" "formatted_document" $ \doc -> do
4647
formatDoc doc (FormattingOptions 10 True Nothing Nothing Nothing)
4748
]
4849

0 commit comments

Comments
 (0)